RT3S firmware won't run
Re: RT3S firmware won't run
I've just uploaded the uncropped version to the same folder
https://opengd77.com/downloads/MDUV380/Tests/
https://opengd77.com/downloads/MDUV380/Tests/
Re: RT3S firmware won't run
For anyone watching this thread
It appears that the basic initialisation is working OK, e.g. GPIO, however as soon as the RTOS is started the firmware seems to hang.
I wonder whether TYT have replaced the MCU in the radio with a cheaper version, possibly with less RAM
Someone would need to open their radio and take a photo of the STM32F4xx chip to confrim if they have done something like that
There are also other manufacturers in China who make STM32 clone chips, however I don't know if there are any STM32F4 clones.
I know there are many STM32F1xx clones
I know a company called GigaDevices makes lots of Clones,
https://www.gigadevice.com/products/mic ... 05-series/
These devices are 100% the same as the STM32F405
It appears that the basic initialisation is working OK, e.g. GPIO, however as soon as the RTOS is started the firmware seems to hang.
I wonder whether TYT have replaced the MCU in the radio with a cheaper version, possibly with less RAM
Someone would need to open their radio and take a photo of the STM32F4xx chip to confrim if they have done something like that
There are also other manufacturers in China who make STM32 clone chips, however I don't know if there are any STM32F4 clones.
I know there are many STM32F1xx clones
I know a company called GigaDevices makes lots of Clones,
https://www.gigadevice.com/products/mic ... 05-series/
These devices are 100% the same as the STM32F405
Re: RT3S firmware won't run
This test firmware should show the CPU device ID and revision and signature
downloads/MDUV380/Tests/OpenMDUV380_sho ... ersion.bin
The correct values are
DEV ID:0x0413
REV:0x1007
SIG:0x0413
The unknown CPU has a revision number of 9, which is not a valid STM CPU revision
Unfortunatly it appears that the CPU crashes in the FreeRTOS initialisation, which is not code that we wrote.
I could attempt to update to a newer version of FreeRTOS source code, if one is available, however FreeRTOS is only intended to run on official STM processors and may not run on clones.
Edit.
I checked whether we could potentially change to use Chibos RT (OS), which I think OpenRTX and the official firmware both use.
But we can't do this because Chibos has conflicting license conditions, unless we pay for a license.
And with a paid license, I would have to track and manage each installation of the firmware and lock it to individual radios, and not allow the source code to be released as it would show how to unlock from each radio
downloads/MDUV380/Tests/OpenMDUV380_sho ... ersion.bin
The correct values are
DEV ID:0x0413
REV:0x1007
SIG:0x0413
The unknown CPU has a revision number of 9, which is not a valid STM CPU revision
Unfortunatly it appears that the CPU crashes in the FreeRTOS initialisation, which is not code that we wrote.
I could attempt to update to a newer version of FreeRTOS source code, if one is available, however FreeRTOS is only intended to run on official STM processors and may not run on clones.
Edit.
I checked whether we could potentially change to use Chibos RT (OS), which I think OpenRTX and the official firmware both use.
But we can't do this because Chibos has conflicting license conditions, unless we pay for a license.
And with a paid license, I would have to track and manage each installation of the firmware and lock it to individual radios, and not allow the source code to be released as it would show how to unlock from each radio
Re: RT3S firmware won't run
Not sure it can be fixed.
The CPU may not be compatible with the operating system used by the firmware.
Its a totally unmarked CPU that is now in this radio
Even if we could get it to work somehow with this CPU.
TYT could change to a new CPU next week
I do not have the time or money to play whack-a-mole
Re: RT3S firmware won't run
Yes. But it probably shows Rev:9
So its a fake CPU
This is just a test application its not the firmware
I just added some more hard coded delays to make the display data transfer work
So its a fake CPU
This is just a test application its not the firmware
I just added some more hard coded delays to make the display data transfer work
-
- Posts: 20
- Joined: Sun May 03, 2020 12:31 am
Re: RT3S firmware won't run
Yes The Test Bin Version Firmware Works on my GPS Version.
Mine is
DEV ID: 0X0413
REV: 0X9
SIG: 0X0413
Mine is
DEV ID: 0X0413
REV: 0X9
SIG: 0X0413
Re: RT3S firmware won't run
As Roger said, if your radio returns REV: 0x9 then it will not at the moment work with OpenGD77.
None of the developers has one of these radios, so it is almost impossible to develop a fix.
Just for completeness My RT3S returns REV: 0x100F which is different to Rogers but still works OK.
My MD390 returns REV: 0x1007 which is the same as Rogers.
Colin G4EML
None of the developers has one of these radios, so it is almost impossible to develop a fix.
Just for completeness My RT3S returns REV: 0x100F which is different to Rogers but still works OK.
My MD390 returns REV: 0x1007 which is the same as Rogers.
Colin G4EML