Other Parts Discussed in Thread: UNIFLASH
Hi,
trying to download & run code to SRAM (ITB 4.9 OOB ISK pre-built .bin), using SWRA627. Got the .bin file parsing done, plus (I think) formatting to SWRA, but this does not work - visualiser cannot connect to either com port. I'll try to attach a file with my bin file parse, plus some of the data sent to the IWR ... part way through, so better indication that my counters and file accessing are OK, can compare what I'm sending with the original bin file contents etc.
>> Anything obviously wrong?
Also, what do I do with the check-sum in the BIN file e.g. how do I send it (SWRA says it's needed for FLASH writes),
and the shared memory allocation ... SWRA doesn't seem to mention this.
If I use the protocol to write to FLASH rather than SRAM, this also does not work (i.e. I'm managing to overwrite a UNIFLASH download & then SOP4) - implying I am getting data to the IWR and it understands some of it.
I'm in SOP5 throughout the FLASH/SRAM process.
I see in the docs for UNIFLASH, I ought to be able to read-back memory - the memory page doesn't appear - maybe not available for this device? It would be very useful to be able to do this, as I could see what I've written and whether it looks OK.
thanks
Alan
magic word: 5254534D metaimages present: 00000003 file length: 0004EA80h = 322176d MSTR/MEND Protocol OK MetaImage 1 details: filePresent = 0001 coreId = 35510000 >>> MSS fileOffset = 0080 CRC_lo = EA7A2C43 CRC_hi = 69F4A22 fileSize = 1EB78 reserved_1 = 0000 reserved_2 = 0000 MetaImage 2 details: filePresent = 0001 coreId = B5510000 >>> BSS fileOffset = 1EC00 CRC_lo = D05D7A98 CRC_hi = 5C1A98BA fileSize = 8840 reserved_1 = 0000 reserved_2 = 0000 MetaImage 3 details: filePresent = 0001 coreId = D5510000 >>> DSS fileOffset = 27440 CRC_lo = EF45D441 CRC_hi = 12ED896C fileSize = 27630 reserved_1 = 0000 reserved_2 = 0000 MetaImage 4 details: filePresent = 0008 coreId = 444E454D >>> INVALID fileOffset = 43525052 CRC_lo = 17610 CRC_hi = 0000 fileSize = 0004 reserved_1 = 0001 reserved_2 = 0000 Shared memory word: 0008