Part Number:TMS320F28035
Hello,
I get an error using the Flash_Program function for the TMS320F28035. The error code is STATUS_FAIL_PROGRAM (30) and i don't know how
to find the cause.
I am trying to emulate an EEPROM like it is described in "Application Report SPRAB69–September 2009". The error occurs
when entering the Write function defined in F280xx_EEPROM.c
Status = Flash_Program(Page_Pointer,Page_Status,Length,&ProgStatus);
(the status is send inside of a CAN message for debug purposes)
While using the debug mode in the code composer studio on the other hand everthing is working fine.
I can write to the emulated EEPROM without Flash_Program errors ( with debugger attached).
Outside the code Composer Studio the Flash_Program() function is not working inside of the functions found in the
F280xx_EEPROM.c file, but it is working inside of the bootloader. So i don't think that there is a timing problem.
Do you have any idea what could be the cause?
best regards
Hendrik