Hello miguel,
1) "But if the secondary bootloader load the aplication program from SPIFI to RAM and then to flash address 0x8000, "
-> After this , compare the data from 0x8000 with hex file of application , they are should be the same.
2) "If i load the application program to the address 0x8000 with the JFlash program and later load the bootloader to the 0x0 address, after the reset the secondary bootloader jump to the application program and work OK."
-> Do you meaning, when use JFlash flashing Appplicaiton and bootloader, bootloader can jump to APP, APP also can work well ? When using using bootloader get APP code , the flash it to ox8000, it can't work ? If yes, I think you need check 0x8000 memory as 1).
3) "It is possible to debug the application once the bootloader jumps to it, from the debugger? ", can debug Disassembly
code :

This can Check whether it jump to 0x8000 successfully.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------