-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to Change this project for WisNode-Lora? #5
Comments
Hello @verofin . |
Also this schematic might be helpful. https://github.com/Ebiroll/beer_tracker/blob/master/RAK-wisnode/wisnode-lora_schematic_diagram.pdf |
Thanks I will try it. I recompiled the app using pio run and found allot of warnings. When I program my Tracker Board I don't seem to get a response. Is there a blinky app to make sure I didn't kill the board? |
In the end of src/main.c you have a blinky app. Just rename the other main(). Unless you overwrote the bootloader I dont think you ruined your board. And if you did you can probably flash a new bootloader by using the SWD pins. https://github.com/Ebiroll/esp32_blackmagic. Maybe you just forgot to move the strap after flashing. P1. Boot Switch Pin, |
Is there a better form in which to have these discussions? I stripped out the whole program in an attempt to get the LED's to blink. I don't think the bootloaded was overridden. It seems to write the bin from 0x08000000. Do you know what the entrypoint for the application is? http://stm32flash.sourceforge.net/ Using Parser : Raw BINARY Option 1 : 0x00
|
Are you using the Trackerboard or the WisNode-Lora? The blinky app only works on the Breakboard/tracker board. On the wisnode I did some change in src/peripherals/lis3dh.c I use screen to check serial output. Press reset after starting screen. I used the flash application located in the stm32flash directory http://stm32flash.sourceforge.net/ Using Parser : Raw BINARY
Latest versions of everything.. Here is serial output on Wisnode-Lora without any changes in the code. LIS3DH no ack Selected LoraWAN 1.0.2 Region: EU868 ABP: |
I use Ubuntu so I installed st32flash using apt-get. My PlatformIO, version 3.6.0a7 I'm using the tracker board v2.0 I also have a WisNode, but that's another story I managed to compile the code a couple of days ago and had the tracker running, connected to ttn. Then I wanted to get the WisNode to work. When that did not succeed I thought I would see if I could at least recompile the Tracker software in an attempt to get back to some point where things worked. I managed to now have a tracker board with both led's on and nothing happening on the serial port. Is there a .bin I could burn to just make sure by board is still fine? How do I get back to a controllable state? |
STM32 you must have this patch Formlabs/stm32flash@8c4aa65 |
I also have the RAK WisNode. Would be nice having a separate project folder without the hassle to adopt code. |
I can run it on my WisNode just by applying #5 (comment). I use Debian Bullseye. Flashing:
Reading logs:
|
Hi Ebiroll
Thanks for your great effort on this project. I would like to know if it is possible and how I could go about changing this project for RAK WisNode-Lora. Its using the same RAK811 and STM32 chip set. It's just the board layout that's different.
Thanks for your response
The text was updated successfully, but these errors were encountered: