U-Boot SPL 2021.04+olimex-1-20240312.134658 (Mar 12 2024 - 13:48:01 +0000)
Model: STM32MP1XX OLinuXino-SOM
Init AXP209 PMIC
Quote from: LubOlimex on May 17, 2023, 02:10:43 PMIt should work. Did you follow the instructions on the product page? How to set it up with Arduino IDE? These five steps had been tested and confirmed working today with Windows 10 and Arduino 1.6.7:By connecting RX to RX and TX to TX everything works.
1. Plug AVR-ISP500 to the computer via USB cable with a USB type B connector (we sell such a cable in case you don't have one).
2. If you have a newer version of Windows the drivers would install automatically. If they do not install automatically, download and manually install the drivers of AVR-ISP500 from the product page.
3. Before launching Arduino IDE you need to add a configuration for the Olimex programmer. It is simple – navigate to *\arduino-1.6.7\hardware\arduino\avr\ and open the file programmers.txt for editing. At the end of the file add the following:olimexisp.name=Olimex AVR-ISP500
olimexisp.communication=serial
olimexisp.protocol=stk500v2
olimexisp.program.tool=avrdude
olimexisp.program.extra_params=-P{serial.port}
4. Launch Arduino IDE and select Tools –> Programmer –> "Olimex AVR-ISP500"; also select the COM port of the programmer as seen in "Windows Device Manager"(!)
5. Remember to click Sketch –> Upload using programmer – if you just click "Upload" then Arduino IDE would attempt to upload via the Run 3
Quote from: LubOlimex on March 25, 2024, 12:48:52 PMCan you upload a picture with the hardware connections and cables that show the JTAG connection? Also maybe a diagram with the signals at your target board so we can track if maybe some hardware discrepancy is going on.
Also make sure to test with the basic line in your openocd:
openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f interface/ftdi/olimex-arm-jtag-swd.cfg -f target/at91samdXX.cfg
openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f interface/ftdi/olimex-arm-jtag-swd.cfg -f target/at91samdXX.cfg
Info : FTDI SWD mode enabled
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 400 kHz
Error: Error connecting DP: cannot read IDR
openocd -f interface/cmsis-dap.cfg -f target/at91samdXX.cfg
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: FW Version = 1.0
Info : CMSIS-DAP: Serial# = J41800043599
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 400 kHz
Info : SWD DPIDR 0x0bc11477
Info : [at91samd.cpu] Cortex-M0+ r0p1 processor detected
Info : [at91samd.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for at91samd.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : [at91samd.cpu] external reset detected
gpio_pin_63 = port:PI02<0><default><default><default>
gpio_pin_64 = port:PI03<0><default><default><default>
gpio_pin_65 = port:PC17<0><default><default><default>
gpio_pin_66 = port:PC18<0><default><default><default>
gpio_pin_67 = port:PC23<0><default><default><default>
gpio_pin_68 = port:PC24<0><default><default><default>
gpio_pin_69 = port:PI19<0><default><default><default>
gpio_pin_70 = port:PI18<0><default><default><default>
TX RX
| |
=== == ====|||||||||---------
|
GND
Tx and Rx must be 3.3V LvTTL compatible.
. |\
uart0 -----| \______ jack
audio -----| /
. |/
. |
. sel <--- SoC.GPIO.port_L.bit9