2016-08-02 13:25:46 +00:00
|
|
|
# Programming the RTL8710 via DAP
|
2016-08-02 12:33:57 +00:00
|
|
|
|
|
|
|
# Hardware
|
|
|
|
* a RTL8710 RTL00.
|
|
|
|
* a DAP board with NXP LPC11U35FHI33/501.
|
|
|
|
* some wires.
|
|
|
|
* a usb cable
|
|
|
|
|
|
|
|
# Prepare DAP board
|
|
|
|
* I use TG-LPC11U35-501. (https://developer.mbed.org/platforms/TG-LPC11U35-501/)
|
|
|
|
* Download Realtek's DAP firmware. (https://github.com/Ameba8195/Arduino/blob/master/misc/dap_firmware/DAP_FW_Ameba_V10_2_3-2M.bin)
|
|
|
|
* Program DAP firmware to DAP board.
|
|
|
|
|
|
|
|
# Wirering
|
|
|
|
|
|
|
|
| DAP board | RTL8710 RTL00 |
|
|
|
|
|---|---|
|
|
|
|
| SWCLK | 4 |
|
|
|
|
| SWIO | 6 |
|
|
|
|
| 3.3V | 8 |
|
|
|
|
| GND | 15 |
|
|
|
|
|
|
|
|
# Programming
|
|
|
|
* Connect the PC and the board with a USB cable
|
|
|
|
* The mbed drive is displayed on the PC.
|
|
|
|
* Copy ram_all.bin to the mbed drive.
|
|
|
|
* reboot RTL8710.
|
|
|
|
|
|
|
|
# List of DAP board with LPC11U35FHI33/501.
|
2016-08-02 13:25:46 +00:00
|
|
|
* Realtek Ameba dev board ( require pattern cut to original ameba module.)
|
2016-08-02 12:33:57 +00:00
|
|
|
* B&T RTL8710 debug board
|
|
|
|
* TG-LPC11U35-501. (https://developer.mbed.org/platforms/TG-LPC11U35-501/)
|
|
|
|
|
2016-08-02 13:25:46 +00:00
|
|
|
# Remark
|
|
|
|
* You can programming the RTL8710 via J-Link and other CMSIS DAP, but you don't erase MAC address and WLAN calibration data in 0x9000 - 0xAFFF.
|
|
|
|
* Realtek's DAP firmeware prevents to erase 0x9000 - 0xAFFF.
|
2016-08-02 12:33:57 +00:00
|
|
|
|