Heltec_ESP32 icon indicating copy to clipboard operation
Heltec_ESP32 copied to clipboard

A fatal error occurred: Invalid head of packet (0x47). Wireless stick lite (V3)

Open ccintront opened this issue 3 years ago • 10 comments

Hello, I just received Heltec wireless stick lite (v3) [https://heltec.org/project/wireless-stick-lite-v2/] module. The code is not getting uploaded on the board. I have tried different sample codes.

Wireless stick lite V3 board Heltec WSLv3

Whenever I try to upload the code, I get this error

reference picture

I have worked with the previous version of Heltec wireless stick lite, and it worked completely fine and uploading does not cause any issue, but V3 is having some problems in uploading code.

I bought 5 of these boards, and it is not working with any of them.

Any suggestions?

ccintront avatar Nov 05 '22 19:11 ccintront

Hello, I just received Heltec wireless stick lite (v3) [https://heltec.org/project/wireless-stick-lite-v2/] module. The code is not getting uploaded on the board. I have tried different sample codes.

Wireless stick lite V3 board Heltec WSLv3

Whenever I try to upload the code, I get this error

reference picture

I have worked with the previous version of Heltec wireless stick lite, and it worked completely fine and uploading does not cause any issue, but V3 is having some problems in uploading code.

I bought 5 of these boards, and it is not working with any of them.

Any suggestions?

same here, did you find a solution ?

docbrownd avatar Nov 27 '22 11:11 docbrownd

Not yet. Still the same.

ccintront avatar Nov 27 '22 13:11 ccintront

Not yet. Still the same.

for me it's because we use wrong board version.

Did you try with the new heltec version (0.0.7) https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json ?

with it, i think programmation will work, but in my case, compilation fails with V2 code (LoRa var not declared ..)

docbrownd avatar Nov 27 '22 14:11 docbrownd

The new V3 board chip is different. I am experiencing a problem uploading via VS Code where-in I get the fatal upload error that the chip is an ESP32-S3 not and ESP32. I have submitted an issue here as well. We'll see what happens.

GingerJohnny avatar Jan 22 '23 19:01 GingerJohnny

Here is the V3 chip diagram from Heltec http://community.heltec.cn/t/heltec-esp-32-v3-adruino-sketch/12207

GingerJohnny avatar Jan 22 '23 19:01 GingerJohnny

For the V3 we need to new versions of the board and library. Close the Arduino IDE. Delete the old version, which will be in a directory such as ~/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.5

Open the Arudino IDE, then select File > Preferences and set this URL to get version 0.0.7 of the library: https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json

Note that version 0.0.5 won't work. You need 0.0.7 or higher.

Go to boards manager. Update Heltec ESP32 to 0.0.7 or higher.

Click Tools > Board and select the V3 version of your board.

Now ESP32 examples should work.

If you're doing LORA, you may need to download the HelTec ESP32_LoRaWAN library find into the directory below and unzip.

linux: /home/{user}/Arduino/libraries windows: Documents\Arduino\libraries mac os: Documents/Arduino/libraries

sensei-hacker avatar Feb 11 '23 05:02 sensei-hacker

@sensei-hacker incorrect about LoRa. The library is incompatible with SX1262 (source )

#94 #100 #102

bigFin avatar Feb 28 '23 22:02 bigFin

I am able to use the SX1262 with radiolib similar to this example https://github.com/JJJS777/Hello_World_RadioLib_Heltec-V3_SX1262

bigFin avatar Feb 28 '23 22:02 bigFin

I have a Heltec Wirelss Stick: The options are Heltec Wireless Stick: When chosen it complains it is the wrong board and suggests (V3)

When the board selected is the V3 version it does not have a Wireless Stick, only a Wireless Stick Lite (supposedly obsolete)

When trying to compile the factory test example:

heltec_wireless_stick:59:10: error: 'class Heltec_ESP32' has no member named 'display' Heltec.display->clear();

It would be REALLY REALLY NICE, if some day, I could buy a new Heltec product and NOT SPEND DAYS TRYING TO GET IT TO WORK! Trust me, I would buy more if they worked out of the box rather than causing days of pain.

JUst so youa re aware, I bought it through Amazons and am returning the product.

garykuipers avatar Jun 19 '23 17:06 garykuipers

@garykuipers Oh the joy of using the latest hardware... You will be able to compile using the following:

platform = espressif32
board = esp32-s3-devkitc-1

Just note that you will need to implement LoRa libraries etc yourself (see my above post about RadioLib).

bigFin avatar Jun 19 '23 18:06 bigFin