Jump to content
  • 0

Possible bad uC32


mboroff

Question

I have a uC32 I purchased a month ago from Adafruit.
Over the last week I have been unable to get it to work with several tfts that work on Arduinos, with or without a shield. I have exchange several emails with Hemning K. And he can not figure it out.

I have also run continuity tests on all pins.

Yesterday I receive a wifi shield from you and it fails to scan wifi networks. The http server example reads the ad card but stops on the scan. I did modify the config file for my said and password and changed the security type for pass phrase.

Any suggestions you can make on how I debug further?

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

Hello mboroff,

 

TFT screens:

What TFT screens are you having issues with?  Some of the interns at Digilent have had success with them and I can check into which ones

 

Wifi shield:

Did you run the WifiScan Demo?

File -> Examples -> DWIFIcK -> WifScan

 

or did the WebServer demo fail the scan?  

 

Are you trying to debug a possible failed board or the accessory boards?  More than likely if the Blink demo works then the UC32 base functionality is working.  IE: power circuits, FTDI programming circuit, and in the PIC32 the CPU, memory and GPIO attached to the LED.  There could be a failed communication module but the chance of that while all of the other parts are working is slim.

Link to comment
Share on other sites

First blink works fine and so do some lcd sketches.

Using version 0150 windows 020140204 WDWIFICK -> wifiScan starts

 

       Start of Sketch

      WiFiScan 1.0

      Digilent, Copyright 2012

That’s all she wrote.

 

Using Eamples DewFck -> WifIScan I get

Start of Sketch

WiFiScan 3.0

Digilent, Copyright 2014

 

Start WiFi Scan

Scan Failed

 

Status value: 268443650

End of Sketch

Running example http server with my WPA2passphrase and my ssid I get

WebServer v4.0

Copyright 2014, Digilent Inc.

Written by Keith Vogel

 

SD card initialized. File system found.

Default HTML page:HomePage.htm exists!

Start WiFi Scan

Scan Failed

 

Unable to get a WiFi connection

Hard Error status 0x10002001 occurred.

Shutting down

Resting for 30 seconds

 

 

For TFTs I have tried sainsmart 2.4 40 pin and CTE 3.2 TFT 480 X 320 39481 CTE32HR with and without a coldtears shield designed by Henning Karlsen for chipkit uno32/uC32 and the UTF library. The tfts work on Arduino Mega256 and Due boards with the appropriate shield.

 

Hope that covers it all.

 

Marty

Link to comment
Share on other sites

I ran the wifiscan demo on MPIDE version 20140821 without an issue.

 

I would suggest 2 things:

1. Grab a new version of MPIDE. 

 

2. Check the jumper settings, these are  what I have on 

 

 

I suspect the demos are failing at beginScan().  

 

Please check those two things and we can dig further.

 

Good luck! 

 

 

Link to comment
Share on other sites

Ok. Send me a box and label and I'll ship you my cards. Seriously, if there some lines of code you want me to insert println statements to see how far we get in beginScan let me know.

 

Set my jumpers to match yours. I moved I2C jumpers back.

1) renamed my libraries file to librariesO
2) re-dowloaded and installed chipKIT Network and USB Libs-20150115
3) removed all old versions of mpide
4) downloaded and installed mpide 0023-20140821
5) testing Examples -> DWIFIcK ->  WiFiScan
      added println ("Start scan") just prior to begin scan
   results:
            Start of Sketch
            WiFiScan 1.0
            Digilent, Copyright 2012

            Start scan
6) downloaded and installed mpide-0150-windows-20141104-test
7)  testing Examples -> DWIFIcK ->  WiFiScan
      added println ("Start scan") just prior to begin scan
   results:
            Start of Sketch
            WiFiScan 1.0
            Digilent, Copyright 2012

            Start scan
8) testing Examples -> DEWFcK -> WiFiScan
   results:
    Start of Sketch
    WiFiScan 3.0
    Digilent, Copyright 2014

    Start WiFi Scan
    Scan Failed

    Status value: 268443650
    End of Sketch
9) downloaded and installed mpide-0150-windows-20140204-test
10)  testing Examples -> DWIFIcK ->  WiFiScan
      added println ("Start scan") just prior to begin scan
   results:
            Start of Sketch
            WiFiScan 1.0
            Digilent, Copyright 2012

            Start scan
11) testing Examples -> DEWFcK -> WiFiScan
   results:
    Start of Sketch
    WiFiScan 3.0
    Digilent, Copyright 2014

    Start WiFi Scan
    Scan Failed

    Status value: 268443650
    End of Sketch
 

Link to comment
Share on other sites

I received a replacement WiiShield. It also failed with all three versions of MPIDE.

 

I wonder if I can return both WiFi shields and my uC32 and you can test them. If you can get them to work then you can return to me the pair that works? I have the return box and label. I can also delay my project because it is a personal project so any time frames is ok.

 

What do you think?

Link to comment
Share on other sites

One other thing.

 

Yesturday I received a new ham radio that is built on an Uno 32. It's open source. I have benn able to make changes to the software so I feel confident my software environment is ok.

 

I plugged the WiFi shield into it and it also failed. So now I am really confused. For what it i worth.

Link to comment
Share on other sites

After going through your hardware, I found that the SPI module on the pic32 is defective.  

 

Unfortunately, I cannot ship you a new UC32 because it was bought through Adafuit.  So you will have to submit an RMA through them to get a new UC32.

 

I will ship you back your UC32 and 2-wifiShields. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...