mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
Update README
This commit is contained in:
@@ -26,10 +26,21 @@ STM32L476ME:
|
|||||||
|
|
||||||
Flashing:
|
Flashing:
|
||||||
|
|
||||||
The MDK has a builtin FTDI to support flashing from openocd. There are a few extensions
|
The MDK has a builtin FTDI to support flashing from openocd. There are a
|
||||||
to openocd that haven't been integrated upstream yet. To flash (or debug) the MDK, you
|
few extensions to openocd that haven't been integrated upstream yet. To
|
||||||
will need the code from:
|
flash (or debug) the MDK, you will need the code from:
|
||||||
|
|
||||||
git clone https://github.com/MotorolaMobilityLLC/openocd
|
git clone https://github.com/MotorolaMobilityLLC/openocd
|
||||||
|
|
||||||
|
Refer to detailed OpenOCD build instructions at developer.motorola.com
|
||||||
|
|
||||||
After building, you can flash with the following command:
|
After building, you can flash with the following command:
|
||||||
|
|
||||||
openocd -f board/moto_mdk_muc.cfg -c "program nuttx.bin 0x08000000 reset exit"
|
openocd -f board/moto_mdk_muc.cfg -c "program nuttx.bin 0x08000000 reset exit"
|
||||||
|
|
||||||
|
Serial Console:
|
||||||
|
|
||||||
|
The serial console is configured on USART3 using MUC_UART3_TX (PC10) and
|
||||||
|
MUC_UART_RX (PC11). This connects to the FT4232 part which supports 4
|
||||||
|
CDC/ACM serial ports. The console is on port C which will probably be
|
||||||
|
/dev/ttyUSB2 on your Linux host.
|
||||||
|
|||||||
Reference in New Issue
Block a user