Menu

DS24xx one wire EEprom Application Register

Anonymous
2022-02-04
2022-02-12
  • Anonymous

    Anonymous - 2022-02-04

    Hi,first of all thank you for your programmer , its an amazing job ... I started this topic because im trying to write a Ds2430 Eeprom, it is possible to write the Program Memory, but actually there is a one time programable 64 bit Application Register that im not able to program , but it reads the Opgui program when I read out the chip, there is any way to program this part of the EEprom ? Could be implemented maybe in the next update ?

    Thank you very much..
    All the best : Szabi

     
  • Alberto Maccioni

    Writing the application register requires a series of manual insructions to be sent directly to the programmer by using "op -command".
    The instructions that deal with OneWire devices are (from instructions.h):
    OW_RESET 0x40
    OW_WRITE 0x41 // + # of bytes + bytes
    OW_READ 0x42 //+ # of bytes required
    First thing is to turn on VCC.
    All commands given to OW devices start with a reset; addressing a single device on the bus requires sending 0xCC (SKIP ROM).
    In order to write the application register you first need to write 0x99 + starting address (e.g. 0) + data bytes. It is possible to read back the data to check if it was correctly received.
    Then sending 0x5A & 0xA5 transfers all data to the application register and locks it.
    In the end here is the sequence:
    op.exe -command 6 3B E 1
    op.exe -command 40 41 B CC 99 0 XX XX XX XX XX XX XX XX
    The following reads back data:
    op.exe -command 40 41 3 CC C3 0 42 8
    If data matches it can be written permanently:
    op.exe -command 40 41 3 CC 5A A5

    This was never actually tried, so let me know how it works.

     
  • Anonymous

    Anonymous - 2022-02-12

    Sorry I just had time today to try it, but YES it works :) I can write the App.Register like this..Thank you very much..
    All the best . Szabi

     
  • Anonymous

    Anonymous - 2022-02-12

    Sorry I just had time today to try it, but YES it works :) I can write the App.Register like this..Thank you very much..
    All the best . Szabi

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.