Hi Ping, thank you
The application code is working fine if placed at the beginning of the flash or at the position it would have when the bootloader is also placed in, so I think the application is fine.
When I initialize the CAN peripheral in the Bootloader, with its own IntVector, its own speed etc, I can use it correctly while inside the Bootloader.
What I do at the end of the BootL is to DeInitialize the CAN (no other peripheral are used) and jump inside the main Appl. Inside the Appl I have to use again the CAN so I Initialize it again with different IntVector, speed, etc but It's not working anymore.
That's why I think there's something that doesn't really work in the DeInit function..but do you mean only DeInit when you say "shut down the peripherals"?
A little workaround for this has been to create the BootL from the project of the main Appl, so that the CPU speed and all its parameters are the same. Futhermore, even the CAN peripheral has the same parameters and so its' working both in the BootL and in the Main Appl, here even if the DeInit shouldn't work, is not a big deal cause no settings are changed
thank you, regards
W