Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DLL Function

Descritpion

Config File related values

Flashloader related command (sdphost/blhost)

F_AutoProgram()

The autoprogram executes Execute a sequence of commands:user-defined commands

Autoprogram_FileName

Supports all commands

F_Connect()

  • F_Load_Flasloader()

  • F_MemoryConfig()

  • F_Erase()

  • F_Write()

  • F_Verify()

  • All values associated with the commands contained in Autoprogram

    F_Connect()

    F_Load_Flashloader()

    Checking the connection to the target device with detection if the flashloader is already loaded.

    MCU_VID, MCU_PID
    Flashloader_VID, Flashloader_PID

    F_Load_Flashloader()

    Sequence of loading and running the flashloader.

    MCU_VID, MCU_PID
    Flashloader_FileName
    Flashloader_Load_Address
    Flashloader_Jump_Address

    sdphost.exe -u MCU_VID,MCU_PID -- write-file Flashloader_Load_Address Flashloader_FileName

    sdphost.exe -u MCU_VID,MCU_PID -- jump-address Flashloader_Jump_Address

    F_MemoryConfig()

    External memory configuration sequence. Uses two commands: loading configuration word and running configure memory.

    Memory_Configuration_Address
    Memory_Configuration_Word1
    Memory_Configuration_Word2
    Memory_ID

    blhost.exe -u -- fill-memory Memory_Configuration_Address 0x4 Memory_Configuration_Word1

    blhost.exe -u -- configure-memory Memory_ID Memory_Configuration_Address

    F_Write()

    Image file programming command depending on file type.

    Image_FileName,

    write-memory if file extension Extension of Image_FileName is .bin or .srec

    Extension of Image_FileName is .sb:
    blhost.exe -u Flashloader_VID,Flashloader_PID receive-sb-file if file extension of Image_FileName is .sb

    F_Verify()

    Comparison of data from file with data from programmed memory.

    F_Read()

    Reading data from memory.

    blhost.exe -u read-memory 0x3c0 32 myConfigData.dat

    F_OTP_Write()

    Writing data from a file to OTP memory

    F_OTP_Verify()

    Comparison of file data with OTP memory

    F_OTP_Read()

    Reading data from OTP memory

    F_OTP_Lock()

    F_Erase()

    Deleting the memory content

    EraseAll,
    Memory_ID

    flash-erase-region if EraseAll = 0:

    flash-erase-all if EraseAll = 1:
    blhost.exe -u Flashloader_VID,Flashloader_PID -- flash-erase-all Memory_ID

    F_GetProperty()

    Property_Tag

    blhost.exe -u Flashloader_VID,Flashloader_PID -- get-property Property_Tag

    F_SetProperty()

    Property_Tag
    Property_Value