This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLPC3433: Flash size on memory

Part Number: DLPC3433
Other Parts Discussed in Thread: DLPC3436

Hello,

 I am trying to flash a memory for working with the DLPC 3433 + DLPA 2000 chipset. I have recieved from TI firmware for the different I2C addresses and pin configurations. I am using SPI with the BusPirate prorgramer with flashrom. However, flashrom does not allow to flash an image from different size of the memory. The firmware I received is obviously not as big as the memory. How should I proceed? Should I write the first blocks of memory with the firmware and the rest with 0xFF or zeros? I also read that repeating the firmeware until the memory is full is an alternative.

Thanks

Wladimir

  • Wladimir,

    I have successfully used flashrom with the DLPC3436 chipset (which uses the same flash interface) previously. Per my experience you should write the flash memory with the image binary after zero-padding it to the appropriate size. For example, you could run the following command (assuming you are on linux):

    truncate -s 4194304 <FILENAME>


    Where <FILENAME> is the name of the image file. Of course, the above zero-pads to a 4MB flash so you may need to adjust the value for whatever you are working with.

    I hope this helps. Let me know if you have further questions.

    Regards,

    Philippe Dollo