Embedded Module TQMLS1012AL - Yocto Linux BSP documentation


Tools and Software

Installation

  1. Connect the PEEDI programmer to a free LAN port in the same network as the host computer setup before to get access to your TFTP server.
  2. Connect the PEEDI programmer to a free COM port on the host.
  3. Plug in the JTAG cable into the PEEDI programmer (nose on the connector is facing up).
  4. Connect the JTAG cable to connector X18 on the STKLS1012AL (red strip to pin 1).
  5. 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 prepared with a FAT32 filesystem.
2. Plug in the SD Card into the PEEDI programmer.
3. Start the terminal emulator and establish a new connection to the COM port where the PEEDI is connected to the host. Setup the serial connection as follows:

Baudrate 115200
Data 8
Parity N
Stop bits 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 the network connection as follows:

DHCP no
Gateway 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 ://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 on the PEEDI programmer.

Flash Programming

  • Put the binaries into the TFTP transfer folder
  • If the board is bricked because of a broken RCW, set the following DIP switches on the STKLS1012AL:
    • DIP switch S1-1 to on for RCW overwrite mode
    • DIP switch S1-2 to off to disconnect RESET_REQ# from board reset
    • Don't forget to switch back again after flashing
  • Power the STK1012AL with 24 V power supply
  • PEEDI should show some cpu information

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

flash program tftp://10.250.250.1/u-boot-pbl-512mb-qspi-sd.bin 0x0 erase
flash program tftp://10.250.250.1/ppa-tqmls1012al-mbls1012al.itb bin 0x00400000 erase
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
flash program tftp://10.250.250.1/fip_uboot.bin bin 0x00100000 erase
flash program tftp://10.250.250.1/pfe_fw_sbl.itb bin 0x00A00000 erase
  • Last modified: 2022/08/04 15:02