RAKWireless / WisBlock

Quickstart, tutorials and examples for the RAKwireless WisBlock product line.
https://www.rakwireless.com
MIT License
161 stars 117 forks source link

Reset #9

Closed HGarza-Ideas closed 3 years ago

HGarza-Ideas commented 3 years ago

Hi, I have a issue, when I try to start this example, I always have to push the button reset. And i would like that i don't need to push that button to start working. Because it is going to be an autonomous GPS. Thank you.

beegee-tokyo commented 3 years ago

Is your WisBlock from the Beta-Starter kit?

The first pre-sale RAK4631 have a problem with the bootloader when using the GPS module.

You need to update the bootloader. We have a tutorial for the bootloader update with the Segger JLink.

Or, if you have a DAPLink device or our RAKDAP1, you can follow this tutorial about RAKDAP1. When using DAPLink or RAKDAP1, the command to flash the bootloader is

pyocd flash -t nrf52840 RAK4630_bootloader.hex

The Bootloader hex file is in the Bootloader section of this repo.

Updating the bootloader from ArduinoIDE is not supported.

HGarza-Ideas commented 3 years ago

They don't tell if my rak4631 is a beta-started kit, but it doesn't matter if I am using the GPS module or not, always when I connect the wis-block to my computer it doesn't recognize the dispositive, I always have to press the reset button for my computer to detect it.

beegee-tokyo commented 3 years ago

That seems to be a different problem. Does the WisBlock start when you connect the USB cable to a charger or supply it from a battery? Did you try different USB ports? Did yu try different USB cables? Can you try on a different computer?

HGarza-Ideas commented 3 years ago

I used another USB cable and another USB port, also I tried with another computer. I connected a charger and also I have the same problem.

beegee-tokyo commented 3 years ago

But is your application on the RAK4631 starting? For example, if you flash a simple LED blink application, does the software start and the LED's blink?

HGarza-Ideas commented 3 years ago

No, I have to push the reset button.

But if I wait 5 minutes the program start, but I don't want to wait 5 minutes.

https://user-images.githubusercontent.com/77807078/110497059-bba00c00-80bb-11eb-9b62-c7067ea82eb8.mp4

beegee-tokyo commented 3 years ago

In the video you still have the GPS module connected. image

Please try WITHOUT the GPS module.

I have 5 WisBlock systems running here, none of them has this problem. I am not sure what your problem is.

HGarza-Ideas commented 3 years ago

Without the GPS module it start immediately. But the problem is that the application that I want to do (GPS tracker) use the GPS module.

beegee-tokyo commented 3 years ago

In this case I am proposing you follow my [first answer here](https://github.com/RAKWireless/WisBlock/issues/9#issuecomment-791214496} and flash the latest bootloader.