Open airbagi opened 1 year ago
Thanks for the report, I think it is great idea. I will (eventually) make an update to the plugin which will pop a selection form where you will be able to choose which section will be used and which will not. I will also have a look at the RH850 file.
I have updated the RH850 file. Could you please be more specific abou the error you are getting for the second issue? In the S32K142 file, the only thing that should cause these issues is the Vector Table, which you can deceide to load into different offset or not load at all. Thanks for more details.
I have a code that is load into the RAM segment directly, no ROM section present (it's just void). When I load such code, there is a warning (I don't quite remember what exactly it is), but I wondered, why do I need to initialize all segments for this CPU, if my little program uses: RAM, WD, FLASH and several others. The final project became very huge to analyze. If I could select segments to be initialized that would be a great advantage! That's what I'm trying to say. Thanks
In RH850 warning
Thanks for the update. A UI to confirm loading of each of the segments is something doable. Will look at it. Thank you for reporting the issue.
I have fixed the RH850 file, also added a prompt for the loading of the Peripherals segment, as in your case that will be the largest part of the project file. You can now choose to omit it when you do not need it. See https://github.com/Accenture/FirmLoader/commit/9d61d1cd47b0c4e032b52cb87b30d9998db2b4df.
Data file has several errors. One range is overlapped. RCFDC0 is on, but there are no RCFDC1 (0xFFD20000).
I also wonder is it possible to exclude some segments from importing. For example, I have S32K142 RAM-only code. But when I import the whole file, I get error for those items that are in the range of ROM segment.
Thank you for your work!