Other Parts Discussed in Thread: TMS320C28346
I've written a SYS/BIOS application on the TMS320C28346 that toggles the digital output to a GPIO at about 5ms.
I've previously written an application to load a bootable image to the EEPROM on my TMS320C28346 so it can be booted from there. I've verified that my loader works with the LED Blink example.
I prepared my project.out file with hex2000 using the following string:
hex2000 project.out -boot -o project.bin -i2c8 -i2cpsc 29 -i2cclkh 5 -i2cclkl 10 -b
Just for fun I also tried it loading the other values that I am certain of:
hex2000 project.out -boot -o project.bin -i2c8 -i2cpsc 29 -i2cclkh 5 -i2cclkl 10 -divsel 2 -pllcr 29 -b
The results of loading and booting the images created by the two hex2000 command line strings were identical as described below.
When I power cycle my board it takes forever (on the order of 30 seconds) to start and then my GPIO toggles which should take 5ms are taking more like 50ms.
The thing successfully loads and boots, but I obviously set the time wrong somewhere. I'm just not sure what or where. I do find it interesting that I'm exactly one order of magnitude off on the time. To be clear, my application does exactly what it's supposed to. It just does it very slowly.
Any ideas?