[env:lptm4c1230c3pm]
platform = titiva
framework = libopencm3
board = lptm4c1230c3pm
The project builds OK. When upload is executed, I get this output in terminal:
> Executing task in folder libopencm3-blink: platformio run --target upload --target monitor --environment lptm4c1230c3pm <
Processing lptm4c1230c3pm (platform: titiva; framework: libopencm3; board: lptm4c1230c3pm)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/titiva/lptm4c1230c3pm.html
PLATFORM: TI TIVA (3.0.0) > TI LaunchPad (Tiva C) w/ tm4c123 (80MHz)
HARDWARE: LPTM4C1230C3PM 80MHz, 32KB RAM, 256KB Flash
DEBUG: Current (ti-icdi) On-board (ti-icdi)
PACKAGES:
- framework-libopencm3 1.10000.200730 (1.0.0)
- tool-openocd 2.1000.200630 (10.0)
- toolchain-gccarmnoneeabi 1.40804.0 (4.8.4)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Checking size .pio/build/lptm4c1230c3pm/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [ ] 0.0% (used 12 bytes from 32768 bytes)
Flash: [ ] 0.9% (used 2340 bytes from 262144 bytes)
Configuring upload protocol...
Uploading .pio/build/lptm4c1230c3pm/firmware.bin
xPack OpenOCD, x86_64 Open On-Chip Debugger 0.10.0+dev-00378-ge5be992df (2020-06-26-09:27)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
Error: SRST error
Error: SRST error
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x000006d8 msp: 0x20008000
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
Error: SRST error
Error: memory read failed: 0x7
Error: memory write failed: 0x7
in procedure 'program'
*** [upload] Error 1
================================================================================= [FAILED] Took 1.31 seconds =================================================================================
The terminal process "platformio 'run', '--target', 'upload', '--target', 'monitor', '--environment', 'lptm4c1230c3pm'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
I don't known what the errors messages mean. The TM4C is flashed OK and the example program runs successfully (LED blinks on three colors).
Have I missed something? There is a workaround for this? Please let me know if you need something else. Thanks.