Hello everyone.
I am developing on a custom made board with nrf52832 but "Invalid ROM Table" occurs and I am not able to Flash to the device.
I have spent for a few days and tried many methods (such as changing settings, address, etc) that I found from Google.
Let me list out some information first:
MCU: nrf52832-QFAA
Flash device: ULINK2
Cables:
ARM-CTX(20-pin ARM to TC2030) Adapter for SWD
TC2030-IDC-NL Plug-of-Nails Cable
IDE-Version: μVision V5.38.0.0
Toolchain: MDK-ARM Community Version: 5.38.0.0
Toolchain Path: C:\Keil_v5\ARM\ARM_Compiler_5.06u7\Bin
C Compiler: Armcc.exe V5.06 update 7 (build 960)
Assembler: Armasm.exe V5.06 update 7 (build 960)
Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
Library Manager: ArmAr.exe V5.06 update 7 (build 960)
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
CPU DLL: SARMCM3.DLL V5.38.0.0
Dialog DLL: TCM.DLL V1.56.4.0
Target DLL: UL2CM3.DLL V1.164.8.0
Dialog DLL: TCM.DLL V1.56.4.0
What I have tried are as follow:
1. I have followed the troubles shooting guide (https://developer.arm.com/documentation/101455/0100/Troubleshooting-Guide) and I am able to detect the IDCode which is 0x2Ba01477 ARM CoreSight SW-DP.
2. When I tried a slow Max Clock to 20k Hz and I got another error message "Cannot Access Memory".
Is there any hints that could help me to figure out what speed should I use?
3. I have tried all the combination of Connect (Normal, with Pre-reset, under Reset, without Stop) and Reset (autodetect, HW RESET, SYSRESETREQ, VECTRESET) with no luck ("Invalid ROM Table").
4. In Flash Download, I have also tried Erase Full Chip and Erase Sectors with no luck ("Invalid ROM Table") and also played around with the RAM for Algorithm.
5. With oscilloscrope, I can see that the reset remains low when clicking the Flash button, is this a normal behavior? or there is something wrong?
6. Because it is a old project developed by another developer 3-4 years ago, would it be the reason of the IDE version not supported? Is it able to downgrade to a previous version?
7. I have 3 custom board with the same circuit, all of the got the same error, so I believe it is not the problem of the custom board. (And the board was able to developed few years ago.)
8. I have tried to create an empty project with main and a infinity loop, but the same "Invalid ROM Table" error occured.
The error message "Invalid ROM Table" has too less information. Any hints I could further try? Or if there is any log providing more information I could investigate?
Thank you in advance.