I code a simply application that just make three leds blink, and then i compile it using KEIL. I use smartSnippets to download the .hex file to spi internal flash, it can successful connect and download the jtag firmwork to ram and download hex data to spi flash. The bootloader also correct contain in the heard of the flash data. But when i power up again the da14583, the application can not run. what's the problem? The application can run if i debugger it in keil. THANKS.
Device:
Hi ninfeion,
Are you using a dev kit or a custom board ? regarding both cases:
Thanks MT_dialog
thank for reply
i have solved this problem that the reason is i using keil 5 and i not install the support pack for da14583. i just set the project option->device->ARM->ARM Cortex M0. when i install the support pack and alter the device option to 'dialog'-> "da14580', everything is ok. But i wonder why it can not work when i specific the device to ARM Cortex M0.
THANKYOU!!
Hi ninfeion,
I am not sure if that was the reason, as far as i am aware, there is no support pack from keil especially for the 583 or the 580 and since you were able to run the fw from keil and download code directly to sysram, something else was wrong, most probably with burning the device in the embedded flash, since you should be able to run the fw with the ARM Cortex M0 option.
Thanks MT_dialog