Hi,
We have build custom board(Buck configuration) and DA14580-01 is running with 16Mhz crystal(even 32Khz crystall also available on board), we are able to download Hex file through Keil ide.
So, after download trying to debug the code but after execution of SystemInit function cpu is entering to Hardfault.
Kindly help us for resolving this issue.
Thanks
Shiva
Both sleep modes were disabled.
No OTP programmed.
No external flash.
你好湿婆,你可以提供some more details :
- what hex code are you downloading ? is this a standard project or your own.
- if you try to load a simple project like a beacon into your HW, do you see it advertising /working (lets see if we can verify if the HW is working ) ?
- can you confirm you are using development mode ? (since not burnign OTP - instead downloading to SRAM)
- what is the specific error message that you see ?
BR JE_Dialog
-
- We developed code for expert kit and same code is working on development expert kit.
- No advertising packets.
- I believe its loading into SRAM(Debug mode), How to confirm development mode?
- There is error message directly it goes for hardfault.
Just now downloaded reporter_fh project and result was same!!!
Some times i got following warning,
* * *限制版本n with 32768 Byte Code Size Limit
*** Currently used: 26584 Bytes (81%)
SP = _RDWORD (0x20000000)
$ = _RDWORD (0x20000004)
**JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
XPSR is changed to 1 after executing SystemInit function then it would enter into Hardfault handler.
Hi Shiva,
Can you provide us the schematics of your design? We can take a look and see if there is something wrong related to the hardware. I will contact you directly.
Best regards, RvA