-
1. Re: USB bootloader, program successfully, but did not programmed at all.
AnkitaS_51 Jan 7, 2018 11:46 PM (in response to user_442096691)Hello,
Have you debugged the code using the debugger.Ideally if it shows success then the device is programmed.Please check the program execution.
Please mention what minor change you did.
-
2. Re: USB bootloader, program successfully, but did not programmed at all.
user_442096691 Jan 8, 2018 4:07 AM (in response to AnkitaS_51)Hi,
The minor change does appear hen programming the new compiled version via MiniPorg3.
I recorded my screen and uploaded the entire test:
https://www.youtube.com/watch?v=ESzX3DGuPOQ&feature=youtu.be0
Here is the steps:
1. i show you that the program return 2,2 via USB.
2. i change the code to return 3,3. 3. compiled the main project and the bootloadable project.
4. started the bootloader via usb command.
5. programmed the new version via BOOLOADER HOST app. and verified via the app.
6. pressed the debug test, and it show 2,2 again.
7. then to show you that there is no problem in the code, i programmed the latest compilation via psoc creator (connected via MiniProg3) and the debug string displayed 3,3 as it suppose to be.
Also added screen shot of the bootloader component setup. Please advice.
-
3. Re: USB bootloader, program successfully, but did not programmed at all.
HimaM_31 Jan 22, 2018 10:01 PM (in response to user_442096691)Hello Netanel,
I hope this issue is already resolved via the technical support case.
I have verified the video. In the video you are programming a specific Bootloader project (for sending data 3,3) and the whole USB communication is part of Bootloader. Now you are bootloading the bootlodable application .cyacd. Bootload process will only change the "Bootloadable Application " section of the Flash, not the bootloader. The tool was able to bootload the Bootloadable image successfully, but this just changed only the application. The bootloader present in the device is still the same. Even you build the bootloadable application project with the change, the change will not be flashed. You need to reprogram the device with new bootloader.
Thanks,
Hima
-
4. Re: USB bootloader, program successfully, but did not programmed at all.
user_442096691 Feb 2, 2018 1:26 PM (in response to HimaM_31)Thanks
The problem was that i cunfused between the bootloader and the bootloadable object.
the bootloadeble object sould be placed within the application project while the bootloader is the new project that can only program the bootloadeble app.
Great support!!!