respeaker / get_started_with_respeaker

This is the wiki of ReSpeaker Core V2, ReSpeaker Core and ReSpeaker Mic Array.
259 stars 83 forks source link

no wifi #93

Closed speeeeeed2006 closed 6 years ago

speeeeeed2006 commented 7 years ago

Hello I have no wifi and no serial using arduino. What should I do? Edit: I tried all the thing just the bootloader via ICSP pins I powered the respeaker and I've tried to use the Web terminal but it show a SSH error about the rsa key I didn't understand why it make that error. So I've tried to reboot but it doesn't work I used the SD cart I used the serial to enter the reboot cmd but nothing. I've tried the the last thing like explained in the wiki but now it doesn't worn at all. If I've understand the last thing is to flash to bootloader but to install it I've to use the pins.

ghost commented 7 years ago

Got the same problem. Turned off all Wifi to test something, wasnt able to turn them on again over console, so I tried firstboot. Did nothing, now the respeaker wont even start, cant even connect to it trough serial anymore. After Months of waiting and finally getting it delivered, this has been a goddamn ride to hell in terms of appreciation of this product.

ghost commented 7 years ago

Ok, after doing the SD card firstboot method, I was able to finally able to connect to it again over WLAN. Now I need to find a way to reset the COM/Serial Port, probably something with the arduino, as the LEDs dont light up anymore

speeeeeed2006 commented 7 years ago

Can you tell me how you made that using the SD card ? I used the script in the reset factory section.

#!/bin/sh
if [ ! -f /tmp/run/mountd/mmcblk0p1/reset_once ]; then
    firstboot
    touch /tmp/run/mountd/mmcblk0p1/reset_once
    reboot -f
fi 

in a file named autorun an put directly in the SD card but it dosen't work.

ghost commented 7 years ago

autorun without file ending did it for me. Just restarted the ReSpeaker again, now its WLAN AP is unavaliable. Quite the bummer, SD Card seems to have no effect now too. Also, dont forget to format the SD before putting the file on it

speeeeeed2006 commented 7 years ago

I formated too used SD Formater and put the file without file ending.

ghost commented 7 years ago

Its not working for me anymore. Currently preparing for reflashing the atmega, do you got any idea about how to connect an arduino or whatever to do that?

speeeeeed2006 commented 7 years ago

In the wiki they said we can use this https://github.com/respeaker/get_started_with_respeaker/issues/29#issuecomment-277914967 but the problem is that the pin was really small it will be a pain to use them.

ghost commented 7 years ago

I see. Tho I have no idea how to flash this stuff; I am mostly interested in the Python functionality to incorporate in a Project. The small amount I know about the Arduino would be enough to make the lamps light up....

Is there anywhere a Detailed howto abou reseting this whole thing and flashing it? I'd order a new one, but it'd take way too long.

speeeeeed2006 commented 7 years ago

I was also looking for something to flash the respeaker, just like an arduino, but I will wait a little just to have a confirmation.

ghost commented 7 years ago

Ive got my arduino ready with everything connected, Do you know what one would flash on those pins? Some kind of Source or...?

EDIT: Just tried to put Arduino Leonardo on it, doesnt work but Leonardo ETH does.

speeeeeed2006 commented 7 years ago

I think you can have some idea using this http://hardwarefun.com/tutorials/use-arduino-as-an-isp-programmer-to-program-non-arduino-avr-microcontrollers or this http://www.instructables.com/id/Turn-Your-Arduino-Into-an-ISP/?ALLSTEPS and use this as a reference http://makerdude.com/blog/wp-content/uploads/2012/03/icsp_hookup.png

ghost commented 7 years ago

Done. Ive used this: https://www.arduino.cc/en/Tutorial/ArduinoISP

To load the LEonardo ETH bootlaoder onto the 32U4. Afterwards the serial port was enables again. Mind yourself, it changed to 9600baud for me. Anyway, I was able to do unmount /dev/XXXXX and then firstboot and reboot

Now its working again.

speeeeeed2006 commented 7 years ago

can you tell me how you done to connect the small pin ? Thank you

ghost commented 7 years ago

I soldered wires to it...no other real way to do it I guess.

speeeeeed2006 commented 7 years ago

it haven't worked for me. I think Seeed should made a better wiki for this part because it wasn't very clear.

ghost commented 7 years ago

This is goddamn garbage. The device didnt crash again as it did before, but now the whole Linux/WiFi part doesnt work. I cant acces Juicbox, I cant use wictl to get wifi as blocks the whole system, and using the ip it gets from dhcp doesnt do shit either.

Quite honestly was any testing done prior to shipping? If by following the guides on here you break half the stuff...

speeeeeed2006 commented 7 years ago

I don't know too I spend a lot of time to fix it but for now it dosn't work.

ghost commented 7 years ago

There seems to be a deeper problem. When doing a complete factory reset and following the steps: Setup WiFi per 192.168.100.1/home.html Setup Juicbox to turn off the ReSpeaker AP, setup Time Insert SD card and format everything Reboot

Errors: WLAN AP of the Juicbox turns itself on again ReSpeaker doesnt reconnect to the previously chosen WLAN. Even after using wictl Random outages during network communication -> cant access Web anymore, but serial works

speeeeeed2006 commented 7 years ago

I think there's some hardware problems on some respeaker.

ghost commented 7 years ago

Definately. Of probably over 50 Times used, I only got it to work once. I was able to make it recognize alexa respeaker and play music. After adding some stuff to dictionary and keywords, it broke.

Also, BING never worked for me. I dont know why but we probably need a FW Update....seeing as 0.99.9 is the newest, there must still be some irks in it.

speeeeeed2006 commented 7 years ago

I still tried last night and I still dosn't work, maybe I do somthing wrong but there's definetly some work to do on software.

speeeeeed2006 commented 7 years ago

no news from seeed for now

jerryyip commented 7 years ago

@speeeeeed2006 @AeroFont Was your respeaker insert a sd card? could you pull the sd card out and reboot to see if the wifi works or not? Thank you!

speeeeeed2006 commented 7 years ago

nothing, no wifi and still no serial. it's really annoying I will probably have tp buy a new one.

Ervanu commented 7 years ago

I have the same problem. Have you got the solution? @speeeeeed2006 @AeroFont

jerryyip commented 7 years ago

@Ervanu no serial and no wifi? Have you edited something?

Ervanu commented 7 years ago

Before the problem occurs, the respeaker core can work normally. Alexa and playmusic can running good. I tried to do a program using Arduino IDE. Com Port detected arduino leonardo. But, i can not uploading program to the respeaker core. There was an error with avrdude. Then, I try to follow the steps on the following link: https://github.com/respeaker/get_started_with_respeaker/wiki/SD-card-autorun-script but in the middle of procces we suddenly got lost connection with the serial monitor. Then the serial (COM port) and wifi connection wasn't exist anymore

jerryyip commented 7 years ago

Hi, what about pulling out the sd card and repower it?

speeeeeed2006 commented 7 years ago

No I still haven't fix it, I was a little busy this days and I haven't touche the Respeaker. But I think i don't have any chance to fix it and using the ICSP pins was the solution but I tried and didn't work ( maybe my solder isn't so good because the pins was small ) so I considering now to buy a new one. But why no information about this from Seeed studio, I mean is it a common problem or is it a minor one ?

Ervanu commented 7 years ago

I tried contacting seeed studio technical support. But, no answer from them. I spent about 1 week to fix this problem. Sometimes wifi is detected but Serial Port never detected again. If wifi can be detected, Respeaker can be acces over ssh console Putty. It can work normally. Web terminal can work as well. I have tried upgrading Respeaker firmware. Upgrade done. But after reboot, wifi connection broken. Green Led "ON", Blue Led "flash/blink". It take long time about 3-4 hours until wifi can be detected again. Is there are any problem with respeaker hardware?

jerryyip commented 7 years ago

@Ervanu I guess you have messed the original arduino code, which is used for transmitting serial data between mt7688 and your pc. So what you need to do is upload the example arduino code again. Then go to terminal via serial, use "wictl" connect to a Wi-Fi.

Ervanu commented 7 years ago

Can you tell me about the steps to upload an arduino program (without serial Com Port)? @jerryyip

jerryyip commented 7 years ago

@Ervanu Here should be a serial COM Port of arudino. Are you sure that it can't be found on your computer now?

Ervanu commented 7 years ago

Yes, Serial COM Port Arduino can't be found on Arduino port / device manager.

KillingJacky commented 7 years ago

Please refer to #58 To fix a totally bricked device