Hi,
Getting a "Sector Violation" when I try to program the F28335 over a Serial Line. I suspect the hex file is being generated incorrectly...
The application is basically the Example_2823xAdcToDMA project with a few additions made by myself. The Memory Map is as shown here:
There is no Flash component as I use the 28335_RAM_lnk.cmd file. The code is fine as I can program using the JTAG (XDS200) and I can see output via RealTerm when the code runs (I output "Hello World!"), so I know the Serial Comms is good.
I have tried generating the .hex file as per the c2prog manual:
hex2000 -romwidth 16 -memwidth 16 -i -o output.hex Example_2823xAdcToDMA.out -------> (1)
And I have also tried using (what I think is correct) the following via CCS:
hex2000 --boot --sci8 --intel ---------->(2)
And finally, I have tried:
hex2000 --sci8 --intel ---------->(3)
The c2prog settings are as per the attached diagram.
The Experimenter board has the correct bootmode settings (0-1-1-1) on SW2 and SW1 is set to 0.
The following are the Sector Violations I receive when I try to program over the Serial Port:
(1)---------------> Sector Violation 0x95C0...0x95CF
(2)---------------> Sector Violation 0x320...0x32F
(3)---------------> Sector Violation 0x10180...0x1018F
It sounds like I don't have a valid set of mappings in the hex file or I have an incorrect processor selected in c2prog. Can anyone advise on what I need to check for in order to get this working?
Many thanks,
Mike.