Hi.
Could you can help please with OTP writing problems?
I create own OPT Bootloader with CAN interface. How I do. I used example from TI site with OTP for 2812 and update code for 28335 with addidtion of our company protocol, and a little updated *.lnk, because searching why it not work. Actualy it is like prposed by TI, but added additional perepherials in LNK. More of them, I tied are few *.lnk linker files... Last version it just united sections as one. (instead of separated by .stack and .bbc anf .text)
And created Release compiled solution just do "Rebuild All" and F11 (to download into Flash) also tried classical "connection->...." result was same, Error.
Problem reproduce as: I has been tried download my OTP program into DSP TMS320F28335 (CCS v5) , But CCSv5 inform me about strange error like:
C28xx: Flash Programmer: Error encountered when writing to Flash memory
C28xx: Error writing: Flash @ address 0x00380400 of length 0x000003F8
C28xx: GEL: File: D:\work\...bla_bla...\my_file.out: load failed.
I was tried are few different board with new DSP problem same.
I not sure that it problem of CCS, think some other but don't know what
More of then, I tried to find detailed instruction how to correct write into OTP - no results.
Also tried set BOOT_PINS in to Flash_Mode and OTP_Mode, no differences.
- // $Boot_Table:
- //
- // GPIO87 GPIO86 GPIO85 GPIO84
- // XA15 XA14 XA13 XA12
- // PU PU PU PU
- // ==========================================
- // 1 1 1 1 Jump to Flash
- // 1 1 1 0 SCI-A boot
- // 1 1 0 1 SPI-A boot
- // 1 1 0 0 I2C-A boot
- // 1 0 1 1 eCAN-A boot
- // 1 0 1 0 McBSP-A boot
- // 1 0 0 1 Jump to XINTF x16
- // 1 0 0 0 Jump to XINTF x32
- // 0 1 1 1 Jump to OTP
- // 0 1 1 0 Parallel GPIO I/O boot
- // 0 1 0 1 Parallel XINTF boot
- // 0 1 0 0 Jump to SARAM <- "boot to SARAM"
- // 0 0 1 1 Branch to check boot mode
- // 0 0 1 0 Boot to flash, bypass ADC cal
- // 0 0 0 1 Boot to SARAM, bypass ADC cal
- // 0 0 0 0 Boot to SCI-A, bypass ADC cal
- // Boot_Table_End$
Help please, project in fire.