Embedded Module TQMLS1012AL - Yocto Linux BSP documentation


Tools and Software

  • PEEDI JTAG/BDM/SWD Flash Programmer for Cortex
  • PEEDI Adapter ADAPTER_CORTEX10
  • PEEDI Firmware v20.3.1 or higher
  • TFTP server (e.g. tftp64) on your PC with Interface set to IP 10.250.250.1 (e.g.)
  • Terminal emulator (e.g. Tera Term) on your PC

Installation

Connect the PEEDI to a free LAN port to get access to your TFTP server

  1. Connect the PEEDI to a free COM port on your PC
  2. Plug in the JTAG cable into the PEEDI (connector facing up)
  3. Connect the JTAG cable to connector X18 on your STKLS1012AL (red strip to pin 1)
  4. Connect the PEEDI power adapter to a power outlet

Configuration

1. Download the target configuration file for LS1012A and save it as “ls1012a.cfg” on a SD card
2. Plug in the SD card into PEEDI
3. Start the terminal emulator on your PC (115200,8,N,1)
4. Type card dir to list the content of the SD card
5. Type transfer card:ls1012a.cfg eep:ls1012a.cfg to copy the config file to the EEPROM
6. Press and hold RESET button, then press both front panel buttons to restart and enter RedBoot command line
7. Type fconfig to set up network connection:

  • DHCP: no
  • Gateeway IP: 10.250.250.1
  • Local IP: 10.250.250.2
  • Local IP mask: 255.255.255.0
  • Default TFTP IP: 10.250.250.1
  • Target configuration file path: eep://ls1012a.cfg
  • DNS IP: leave blank
  • Proxy: no
  • Firmware update path: 1

8. Type y to save the new settings
9. Press the RESET button

Flash programming

Put the binaries into the TFTP transfer folder, if the board is bricked because RCW is broken set DIP switch S1-1 to on for RCW overwrite mode. Set DIP switch S1-2 to off to disconnect RESET_REQ# from board reset and don't forget to switch back again after flashing. Afterwards power the STK1012AL with 24 V power supply, PEEDI should show some CPU information

BSP Rev0005 and before and e.g. 512 MB RAM

Type flash program tftp://10.250.250.1/u-boot-pbl-512mb-qspi-sd.bin 0x0 erase
Type flash program tftp://10.250.250.1/ppa-tqmls1012al-mbls1012al.itb bin 0x00400000 erase
Type flash program tftp://10.250.250.1/pfe_fw_sbl.itb bin 0x00A00000 erase

BSP Rev0006 and above

flash program tftp://10.250.250.1/bl2_qspi.pbl bin 0x0 erase
Type flash program tftp://10.250.250.1/fip_uboot.bin bin 0x00100000 erase
Type flash program tftp://10.250.250.1/pfe_fw_sbl.itb bin 0x00A00000 erase
  • Last modified: 2023/11/27 17:55