CodeWarrior development studio target initialization file user guide

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CodeWarrior development studio target initialization file user guide

311 Views
scottwelsh
Contributor II

I need to understand what parameter values to send to the fl.add_device() routine within the Target Initialization File. Please send me a link to a CodeWarrior Development Studio Target Initialization File User Guide or the like.

Thank you,

Scott

0 Kudos
2 Replies

278 Views
SebastianG
NXP TechSupport
NXP TechSupport

I hope this post finds you well,

As you can see in the following example of fl.add_device

        fl.add_device({"alias": "qspi", "name": "MT25QU128ABA", "address": 0x40000000, "ws_address": 0x10000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "QSPI"})

        #set QSPI as current device

        fl.set_current_device("qspi")

The fl.add_device() is formed by the following characteristics

  • Alias: This setting specified the type of memory that is being used or you want to add.
    1. qspi
    2. sd
    3. mmc
    4. nor
    5. nand
  • Name: This setting specified the model or the number part of the memory or flash memory that you used or added
  • Address: This setting specified the base address in SoC for flash device.
  • Ws_address: This setting is for the workspace address; Address where the flash algorithm is downloaded.
  • Ws_size: This setting is for the size of the workspace.
  • Geometry: This setting specified the flash organization
  • Controller: This part specified the controller of the memory
    1. If you use qspi the controller would be QSPI
    2. If you use sd or mmc the controller is eSDHC
    3. If you use nor or nand the controller is IFC

Best regards,

Sebastian

0 Kudos

293 Views
SebastianG
NXP TechSupport
NXP TechSupport

Hello @scottwelsh,

I would like to inform you that I'm working on your question, I will let you know as soon as I have an update.

Thank you so much for your patience

Regards,

Sebastian

0 Kudos