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.
Tool/software:
I'm having some trouble using the bootloader project 6.1. Project 0 — Hercules Safety MCUs Documentation on the LAUNCHXL2-TMS57012
It was working fine for a while. But after running it several times, I started getting the following error messages as I was trying to step through the following function.
This message popped up after line 94.
In addition, this error initially started popping up after I tried stepping over line 104. But after trying to debug the error, it started popping up after line 101, then line 94. It seems like the program is having a hard time reading the memory block with the actual instructions of the function.
I also know it is probably not a hardware issue as I tried with an old and a new board and got the exact same issue on both.
Hi Tomas,
Your attached image is not clear, i can't see the error description clearly.
Did you made any changes to the actual CAN bootloader project, if you did then please share your complete project.
--
Thanks & regards,
Jagadish.
No, there were no changes made. I double checked on a completely new version/download of the CAN bootloader project, and the same issue came up.
Here is a new screenshot, let me know if it still is not clear enough.
Examining it further with the Memory Browser, it does seem like the memory with the function BLInternalFlashStartAddrCheck is having trouble being read from for some reason. I can read the memory before and after where that function is kept though.
Hi Tomas,
I got the very similar issue in below of my very recent thread:
Here the customer doing one small mistake that is, the parameters he is passing to the flash routine are not correct
I mean his reading address of the flash is in bank-1, but he passed that he wants to read the bank-0. So maybe it would be same kind of issue at your end, make sure you are passing correct parameters to the flash routines.
--
Thanks & regards,
Jagadish.
This does not seem to be the issue as it seems BLInternalFlashStartAddrCheck is not even trying to jump to a particular memory address with g_ulTransferAddress.
Are there any other suggestions? I downloaded the project from GIT again several times. It would work for the first couple times I run the debugger, but afterward, the same error appears with BLInternalFlashStartAddrCheck.
Hi Tomas,
Please zip your complete project and attach it here, i will quickly debug and see the issue on my end.
Actually, i downloaded this CAN bootloader example so many times but i never saw this issue at my end. I don't know why you are getting this issue and especially after running it successfully couple of times.
or else we can also setup a live debugging session if needed.
I will be available from 10AM to 8PM IST (Indian Standard Time), based on your availability in this mean time you can setup the meeting.
--
Thanks & regards,
Jagadish.
It seems like the issue stems from using breakpoints within the function BLInternalFlashStartAddrCheck. I can still step through it, but placing breakpoints within the function causes the error.
Also, worth noting, the debug emulator I am using is the XDS110, which comes with the LAUNCHXL2-TMS57012. The default in the example project is XDS2xxx