Part Number: TMS320F28377D Tool/software: Code Composer Studio I want to upgrade the flash memory(DFU) using UART communication. (DFU communication program I made. Target board is F28377D controlCARD.) The test program is a simple code that flashes an LED. 1. The test code is stored in flash memory and booted.(Flash boot mode) 2. After booting, the entire code moves from flash to RAM.(Flash to RAM) 3. I converted the output file created after compilation to hex code. 4. The hex code is transferred from the PC to the DSP using UART serial communication. 5. The transmitted hex code is written to Flash memory through the Flash_API. 6. Finally, reboot. But after the reboot, the code didn't work. So, I checked below. Flash write using CCS and emulator works fine.(same code) At this time, the flash data was stored through the memory viewer.(0x80000 ~ 0x84000) The same code was booted into RAM to clear the flash memory. Then, I wrote the code to Flash in the same way as above.(DFU using UART) (Of course, it still doesn't work after a reboot.) Connect to the board using CCS and emulator. (At this time, writing to the RAM or FLASH memory is not performed. Only connected.) Save flash memory data once more. If you check the two stored data, it matches 100%.(emulator vs. UART) If the same data is stored in flash memory, shouldn't it work? I do not know. What i am mistaken. Please help me
↧