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.

LAUNCHXL-F28377S: No source available for 0x3FE468

Part Number: LAUNCHXL-F28377S

We tried to flash the program in the kit. It gets flashed and all ready to be executed.
But we get an error 'No source available for 0x3FE468'.
Then we tried stepping the program from beginning. it got executed till 'Init SysCtrl' and gets stuck at 'InitFlash_Bank0'.
We are keeping switch no. 3 ON and switch no. 1 OFF while flashing. After flashing we switch the switch no. 1 to ON position and reset the kit. But the program never got executed.
While stepping, in View Disassembly, it halts at 3fe493 it gets a command 'ESTOP'. Thus no execution further.

  • Green,

    What tool are you using to program the Flash in F28377S? If it is UniFlash or CCS Flash Plugin, please make sure to keep the AutoEccGeneration check box enabled (in the GUI). It is enabled by default.

    Meanwhile, I will check the address 0x3fE493 to see what it relates to.

    Thanks and regards,
    Vamsi
  • Green,

    Section 3.9.2 “Wait Points” of the Boot ROM chapter in TRM states that the address 0x3fE493 belongs to ITRAP ISR.

    Did you copy the InitFlash_Bank0() function from Flash to RAM using memcpy() function before executing the InitFlash_Bank0()? If not, it will ITRAP since the corresponding RAM locations will have garbage.

    Thanks and regards,
    Vamsi
  • Thank you for the response.

    We tried to check the AutoEccGeneration check box. it showed only one option 'Debug', which was checked.
    We are using CCS 6.2.0.
    We were trying to flash the demo program 'Example_28377SLaunchPad' in flash mode where we had the problems discussed in the previous mail.
    ​The kit we are using is 'LAUNCHPADXL-F28377S'.​


    Can you please guide us with step by step instructions to run program in flash and ram both (in detail including the positions of boot switch at different times, what files should be included, what options have to be selected for respective modes, etc.)?

    Thanks and Regards
  • We have attached an image file of ccs screen which shows a different colour (grey).

    ​This part of the program is responsible for the flash. please look into this.

  • Green,

    If you haven't already, please start with the latest version of this demo located in C2000Ware (within device support examples).
    To run from flash, exclude the RAM linker and include the Flash linker. Go to project properties, Build->C2000 Compiler->Advanced options->Predefined Symbols and add "_FLASH" as a pre-define. You don't need to add "InitFlash()" within that #ifdef since it will be intialized within the InitSysCtrl(). When no longer debugging, set both switches to on to go to GetMode. Refer to the TRM ( http://www.ti.com/lit/spruhm8 ) for more info on boot modes.

    Best regards
    Chris
  • Dear Sir,

    Thank you for the reply.
    We tried to add _FLASH and thus the grey part turned normal and then as informed we kept the switches in respective positions for 'GetMode'.
    We tried to execute it through flash but the program didn't run.So, we tried executing it by stepping in by keeping the switches in WAIT mode.
    Here what we could observe was that, in 'SysCtrl.c', it got executed till 'InitFlash_Bank0'. But as soon as it entered the sub-routine 'void InitFlash_Bank0(void)', it showed error 'No source available for "0x3fe468" '.
    The image file of the error with the 'View Disassembly' file which shows this location "0x3fe468" is attached. We have also attached the folder of our program via google drive. Please look into this and kindly help us to get through this issue.​​

    Thanks and regards,
  • Green,

    I think you forgot to provide the links for your attachments.

    Address 0x3fe468 refers to ITRAP ISR.  During the step execution, after calling the memcpy() function, did you check whether the InitFlash_Bank0() function contents are copied to RAM from Flash?  Do you see the code in RAM?  If it is not copied to RAM, CPU will execute the fetched illegal opcodes from RAM resulting in ITRAP.

    Which linker command file are you using?

    Thanks and regards,
    Vamsi


  • Dear Vamsi,

    Thank you for the response.

    This is the attachment, wish it may useful to you.

  • Green,

    The screenshot is not needed. In your former replies, you said you attached your project. But I did not find any and hence asked.

    Did you check my questions in my previous reply? Please answer them so that we can help.

    Thanks and regards,
    Vamsi
  • Green,

    I see that this thread has been closed but I did not see a response from you.
    Did you fix the issue based on our suggestions? Please update so that others can benefit from this thread.

    Thanks and regards,
    Vamsi
  • Green,

    I am closing this thread assuming that you solved the issue based on our suggestions.
    You can start a new thread if you have further questions.

    Thanks and regards,
    Vamsi