This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Spraaq2. Flash programming through SCI-A.

I am following the spraaq2 examples. I am programming the flash memory on F2812 through SCI-A.

The Communication Kernel Flash API (CKFA) loads without problems. However, my code ( i was following the paper and AppCode example) would load but would not run. It looks like there is no correct code at 0x3 7FF6. I was trying to investigate what was wrong and my CPU burned, could not even touch the serface. The same thing happened to me earlier when i was experimenting with AppCode provided with Spraaq2. I thought it was a short on the board or something.

What could be wrong? What could I do to prevent this from happening?

I need to upgrade firmware in the field and JTAG is not a good solution.

Thanks,

Yvon.

  • I am not sure about the bootloader but the burning chip made me remember about a few mistakes I have made in the past and some checks you can do to see if it is the cause of the problem.  Basically the F28 hates signals >3.3V on its I/O and 5V signals can burn out the I/O and cause the chip to overheat.  I would suggest you check if this was possibly the case.  Other than that, I would suggest checking for shorts on the power rails.

    Tim

  • Hi Tim:

    Thanks for the answer. We have a few machines using the same boards i was experimenting with. There was no problem when they are programmed through JTAG and used. I burned the CPU when I programmed it through the SCI-A incorrectly. Could incorrect programming (in erased flash) damage the CPU? It looks like it could.

     

  • Hi

    Did anyone successfully upload and run code (AppCode) that provided with the spraaq2 document?

    Event the original AppCode would not run after it was uploaded using CKFA. 

    Thanks

  • Thanks.

    I figure it out.

    The FileIOShell for the AppCode would not run without MS dlls. The hex2bin file for the CKFA runs without MS dlls, however the hex2000 was not run and there was no error messages so that i thought everything was normal because the CKFA.bin file was up to date. But it was old version that came with the example.