[Aug 6] Debian Stretch Minimal 64bit (0.7.8) / Ubuntu 18.04 Bionic LXDE Desktop Image (0.7.8) / Ubuntu 18.04 Bionic minimal 64bit / 32bit Image (0.7.8) / Ubuntu 18.04 Bionic Containers Image (0.7.8) / Stretch OpenMediaVault OS Image armhf / Stretch OpenMediaVault OS Image arm64 ( 0.7.8) - ROCK64 | [June 25] Stock Android 8.1 - ROCK64 | [June 19] Armbian (5.42) - ROCK64 | [June 19] Armbian (5.38) - PINE A64(+) / PINE A64-LTS / SOPINE

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


Fixing RTLDUINO
#1
Hello everybody, 

I ve played arround with my RTLDUINO, but now I changed the bootimage but did not flash any sketch before. So it boots with some output on serial which ends up with hard fault error.
Is there a way to reset back to AT mode or flash some other firmware to it, in order to upload some sketch via Arduino to it?

Do I have to get some SWD and/or JTAG interface and when which one is the right. Can you help, please?

I got an NodeMCU RT-00 Board as mention here https://www.cnx-software.com/2017/01/04/10-rtlduino-is-an-arduino-compatible-wifi-iot-board-based-on-realtek-rtl8710af-wisoc/#comments



It has been shipped with the AT-Command based Firmware.



Google leads me to some Ameba-Boards and solutions for bulk RT-00 modules, but none for this NodeMCU Board. [Image: icon_question.gif] 

Can someone give me some advice how to start with this module?


Thanks in advance
Reply
#2
i think this is one of those situations were it will cost you more to flash the broken one than getting a new rtlduino. but if you want the experience of getting the board back to clean state then the first thing you need to do is find a *.bin file. many times when working with devices before you start doing anything read the chip and write it somewhere safe in case you need it. but you might want to contact the rtlduino developers and tell them the situation and ask them for the file. you might be able to get a jtag or swd board on the cheap but i seem to remember a utility called flashrom that could work, maybe,
https://www.flashrom.org/Flashrom, or use the rtlduino tools. plus, this is a good howto on 8710 you should read it.
https://polyfractal.com/post/rustl8710/#rtl8710
Reply
#3
Ok,

now I´m back with a new RT-00 board and some additional stuff: 
- an USB2TTL Module CP2102 AliExpress-Link and
- a Debugger AliExpress-Link

But...
I´m able to play around with the LED via AT-Commands on serial console, I explored another serial connection than the Micro-USB onboard one. There the AT-Commands are a quite different.

Anyway. I am still not able to load some sketch from Arduino (1.8.4) to the board.
I´m in doubt which settings to be made 

Please see arduino.jpg

Thank You for help!!
Cry


Attached Files Thumbnail(s)
   
Reply
#4
arduino makes a best guess based on its understanding of the various boards it knows about. it appears that it suggests avr isp [in system programmer] if this is new to you there are several tutorials online to guide you through the steps to take. use google for avrisp.
Reply
#5
The reference to AVRISP is misleading... the Arduino IDE probably doesn't know anything about programming the RtlDuino with a programmer, and is just serving up the default list of programmers that can be used with the 'Upload with programmer' option. Another example of this is when working the ESP8266, which cannot be programmed with an AVRISP... but that entry is still listed! Undecided

You may need to consider getting your hands on one of these... it's the SWD debugger/programmer that pine64 uses for the PADI, so it should be compatible with the RtlDuino, and there is mention in the CNX article that you will need a JTAG/SWD programmer in order to debug on the RtlDuino. The polyfractal post that dkryder linked is a good English guide on how to wire up and flash the chip.

Other possibly useful links (in Russian, so you may need to run it through a translator):
Forum thread about RTL8710 and Arduino - https://esp8266.ru/forum/threads/arduino...8710.1787/
Mention of OTA programming (from above thread) - https://esp8266.ru/forum/threads/arduino...post-26930
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)