projects:jimbob:radiosonde
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:jimbob:radiosonde [2018/08/20 20:15] – kevwal | projects:jimbob:radiosonde [2018/09/05 09:17] (current) – kevwal | ||
---|---|---|---|
Line 1: | Line 1: | ||
Tom SP9UOB kindly gave some of us a RS41-SG Radiosonde at the UKHAS 2018 conference. | Tom SP9UOB kindly gave some of us a RS41-SG Radiosonde at the UKHAS 2018 conference. | ||
+ | |||
+ | Software options that I can find: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[-]] - Toms software which is not publicly available yet. | ||
+ | |||
+ | Download and install the CoIDE [[https:// | ||
+ | |||
+ | Download and install the GCC ARM compiler [[https:// | ||
+ | |||
+ | Open the project in CoIDE and setup the defaults in main.c or config.h (depends which software you are using), and then build: | ||
+ | |||
+ | < | ||
+ | GCC HOME: C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q3\bin | ||
+ | compile: | ||
+ | [mkdir] Created dir: C: | ||
+ | [mkdir] Created dir: C: | ||
+ | [cc] 17 total files to be compiled. | ||
+ | [cc] arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Wall -ffunction-sections -g -O0 -c -DSTM32F100C8 - | ||
+ | |||
+ | [snip] | ||
+ | |||
+ | [cc] C: | ||
+ | [cc] C: | ||
+ | [cc] Starting link | ||
+ | [cc] arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -g -nostartfiles -Wl, | ||
+ | Program Size: | ||
+ | text | ||
+ | | ||
+ | |||
+ | BUILD SUCCESSFUL | ||
+ | Total time: 6 seconds | ||
+ | </ | ||
+ | |||
+ | And with a few warnings it builds! | ||
+ | |||
+ | Reprogramming needs a STM programmer like this [[https:// | ||
+ | |||
+ | Pinout of the SG41 2mm connector is [[https:// | ||
+ | Connections to the 2mm pitch RS41-SG connector I made were: | ||
+ | * Gnd to Gnd | ||
+ | * +VDD_MCU to +3.3v | ||
+ | * SWCLK to SWCLK | ||
+ | * SWDIO to SWDIO | ||
+ | * Rst to Rst | ||
+ | Be aware that some of the circuit diagrams around are for the OEM ST-Link V2 programmer which has many more pins than the cheap one I link to above. | ||
+ | |||
+ | And we have a connection using the ST-Link utility. | ||
+ | |||
+ | < | ||
+ | 11:51:09 : ST-LINK SN : 56FF6B064977535412210687 | ||
+ | 11:51:09 : ST-LINK Firmware version : V2J29S7 | ||
+ | 11:51:09 : Connected via SWD. | ||
+ | 11:51:09 : SWD Frequency = 4,0 MHz. | ||
+ | 11:51:09 : Connection mode : Normal. | ||
+ | 11:51:09 : Debug in Low Power mode enabled. | ||
+ | 11:51:09 : Device ID: | ||
+ | 11:51:09 : Device family : | ||
+ | 11:51:09 : Can not read memory! | ||
+ | Disable Read Out Protection and retry. | ||
+ | </ | ||
+ | |||
+ | I then tried for several hours to re-programme the chip, and kept failing, before discovering that I needed to turn off the 'Read Out Protection' | ||
+ | |||
+ | < | ||
+ | 15:51:19 : Option bytes updated successfully. | ||
+ | 15:51:31 : Flash memory erased. | ||
+ | 15:52:01 : Memory programmed in 6s and 812ms. | ||
+ | </ | ||
+ | |||
+ | Now both the ST-Link and the CooCox CoIDE tools will both flash the chip | ||
+ | |||
+ | The RS41 takes 2 x AA batteries - as you look at the battery holder vertically, with the aerial down and temperature sensor up, the right hand battery has + at the top, the left hand battery has + at the bottom. | ||
+ | |||
+ | I have tried all of the software above, but currently am running darksidelemm' | ||
+ | |||
+ | $$$$$G7PMO-RS41-1, | ||
+ | |||
+ | Hopefully this is of use to others - any corrections please do let me know. | ||
+ | |||
+ | Cheers, | ||
+ | Kevin | ||
+ | |||
+ | |||
+ | |||
- | Software options seem to be: | ||
- | * https:// | ||
- | * https:// | ||
- | * https:// | ||
- | * https:// | ||
- | Reprogramming needs a STM programmer like this [[https:// | ||
projects/jimbob/radiosonde.1534796143.txt.gz · Last modified: 2018/08/20 20:15 by kevwal