Hi,
I'm tring to program the NAND flash but I'm having some problems.
With CCS 5.1 and MCSDK 2.0.1.12 I cannot find the evmc66xxl.gel script that is supposed to do the required setup and initialize the DDR. I have tried other scripts without success.
So I move the the norWrite buffer to MCSM and rebuild it (my .out, elf format, is only 170K).When I run it, it fails to write the first byte (at least):
[C66xx_0] NAND Writer Utility Version 01.00.00.03
[C66xx_0]
[C66xx_0] Flashing block 1 (0 bytes of 178141)
[C66xx_0] Flashing block 2 (16384 bytes of 178141)
[C66xx_0] Flashing block 3 (32768 bytes of 178141)
[C66xx_0] Flashing block 4 (49152 bytes of 178141)
[C66xx_0] Flashing block 5 (65536 bytes of 178141)
[C66xx_0] Flashing block 6 (81920 bytes of 178141)
[C66xx_0] Flashing block 7 (98304 bytes of 178141)
[C66xx_0] Flashing block 8 (114688 bytes of 178141)
[C66xx_0] Flashing block 9 (131072 bytes of 178141)
[C66xx_0] Flashing block 10 (147456 bytes of 178141)
[C66xx_0] Flashing block 11 (163840 bytes of 178141)
[C66xx_0] Reading and verifying block 1 (0 bytes of 178141)
[C66xx_0] Failure in block 1, at byte 0, (at byte 0 in the data file) expected 0x0000007f, read 0x00000000
(The expected byte 0x7f is correct, that is is the first byte oif my .out file, loaded into MCSM ad a bin file)
I'm using the configuration switch as per http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/113883.aspx#410728, that is:
"No Boot" mode is:
SW6 [position 4, 3, 2, 1] = On, On, On, On = 4b0000
SW5 [position 4, 3, 2, 1] = Off, On, On, On = 4b1000
SW4 [position 4, 3, 2, 1] = On, On, On, On = 4b0000
SW3 [position 4, 3, 2, 1] = On, On, On, OFF (little endian)