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: TI C/C++ Compiler
Hi,
I know that simulator of F28335 is not officially supported but I am asking the question if someone had the same issue that I am facing but that found the solution.
I am using "simulator" of the F28335 to check first some processing without the need to be connected to a F28335 target.
I am also using the fast library: rts2800_fpu32_fast_supplement.lib.
When I call the function atan2 it works on the real target but not with the simulator (result is always 0).
To make it work on the simulator I have to remove the fast library.
Did you have already this issue?
Thanks for your support
Regards,
Mathieu
Mathieu,
I looked at the GEL file that defined the memory regions for the simulator; the ROM space is already write enabled for simulation purposes so you should be able to write to it without modification.
There are 2 paths to get the ROM code loaded into the simulation:
1)Download the ROM source listing/PJT from here http://www-s.ti.com/sc/techlit/spru963.zip You can either add the ROM pjt as a dependent project or build and load separately. I think you will need to touch the .cmd file to change the ROM address from "NOLOAD" to normal.
2)If you have a physical 28335 you can do a memory save from CCS on the ROM addresses 0x3FE000-0x3FFFFF and then on the simulator do a memory load to the same addresses.
Since you are using the simulator, and the ROM is open source, I have attached the .dat file with the info for #2 to speed things up for you. I believe this should be the latest revision of the ROM, but please let me know if you have issues.
Best,
Matthew28335 ROM reference.dat