Firmware

hamselvdk

New member
Hallo,

Ich habe heute den firmware aktualiziert. oder ... Sunray firmware ok .. aber den MCU nicht. Ich habe von den app und SSH versuct.
Ideen?

1722441607089.png

pi@bananapi:~/sunray_install $ sudo ./update.sh
=====update.sh=====
home path: /home/pi
install path: /home/pi/sunray_install
service running: true
checking for updates...
found version: Sunray_1.0.324_RM18_1.1.16.zip.enc
applying update...
EUID=0
PWD=/home/pi/sunray_install
url=http://grauonline.de/alexwww/ngp_sunray_firmware/Sunray_1.0.324_RM18_1.1.16.zip.enc
file=Sunray_1.0.324_RM18_1.1.16.zip.enc
pkg=/tmp/sunray_ngp_firmware/Sunray_1.0.324_RM18_1.1.16.zip.enc
pkgdec=/tmp/sunray_ngp_firmware/Sunray_1.0.324_RM18_1.1.16.zip
stopping sunray service...
killing any running sunray process...
sunray: no process found
downloading update...
decrypting...
unzipping...
--------------------------
running flash tool...
enabling GPIO SWD for ngp main mcu
Open On-Chip Debugger 0.10.0+dev-01138-ga4735e4d-dirty (2022-01-06-13:07)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter_nsrst_assert_width: 100

Info : SysfsGPIO JTAG/SWD bitbang driver
Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
Info : This adapter doesn't support configurable speed
Info : SWD DPIDR 0x1ba01477
Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : stm32f1x.cpu: external reset detected
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08006238 msp: 0x20010000
----Flashing----
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08006238 msp: 0x20010000
** Programming Started **
Info : device id = 0x13090414
Info : flash size = 512kbytes
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
shutdown command invoked
--------------------------
update installed!
removing downloaded package (.zip)...
removing downloaded package (.zip.enc)...
restarting sunray service...
 
Zuletzt bearbeitet:
Maybe the App has not refreshed the shown version information. Same problem when reloading the App? :)
 
1722461500936.png

Bei mir das selbe. Die MCU Firmware wird einfach nicht aktualisiert.
 
Dass die MCU-Firmware nicht auf RM18_1.1.16 (von 1.1.15) upgedatet wird, wenn man den "Update"-Button verwendet, ist bereits seit dem Sunray Release 1.0.313 der Fall und ist in folgendem Thread beschrieben:

@AlexanderG : Wenn Du den Fehler in Deinem Upload-Script jetzt korrigiert hast, ist das nur für das neueste Update auf 1.0.324 der Fall? Oder hast Du auch die Upload-Scripte für die früheren Releases (wie z.B. 1.0.318) korrigiert? Laut "Index of/alexwww/ngp_sunray_firmware" soll ja bereits mit Sunray 1.0.312 das MCU Update auf RM_1.1.16 erfolgen.
 
Please try again :) (you will have to reboot the robot or reload the firmware to make it show the correct MCU version...)
 
I'll have a look at it (AFAIK it's just a wrong file name, and you are up-to-date) - Btw, did you know that Sunray is an open source project and you can build and upload the MCU firmware yourself? :)
https://github.com/Ardumower/Sunray?tab=readme-ov-file#sunray_alfred (How to compile and flash Alfred MCU firmware)
Hi @AlexanderG - ok thanks for clarifying … yes I know its open source :)- … Im going to look into it too as I what to change maps on a schedule :)
 
Oben