Main Site Documentation

Network samples?


#41

Or wifi boot1 (pb2) to GND need too.


#42

Wifi boot1 ? I can’t see it on FEZ schematic


#43

If I can certainly access wifi, I will buy one. But from @John_Brochue, I should access UART.


#44

Based on doc.

Page 9/18

  1. To initiate firmware download pin boot0 need to be high during power up and Resetn need to pulled down at least 5ms to initiate firmsare download.

#45

boot0 yes, but you said boot1.
I have connected boot0 on 3.3V (yellow wire on photo).

Reset is to low from code. (But pulled high at power up).


#46

Do not mix code

Boot0 to 3.3v
Reset on GND (at least during boot)
Rx to uart tx
Tx to uart rx

Do not connect fez anywhere just from uart to wifi directly


#47

As reset (of Wifi) and GPIO9 (for wifi) are connected to STM32F401 directly, I can’t connect this pins: it risks to destroy mcu, doesn’t it ?
@valon_hoti_gmail_com: Have you update your wifi firmware ?


#48

No i haven’t because i have no lucky to buy it because they do not ship to Kosovo :frowning:


#49

I redo some test with new 1.0.0.preview-1 version. No more error at start, but error in SendHttpGet:

#### Exception System.Exception - 0x00000000 (1) ####
    #### Message: Request failed: <html><body><h1>It works!</h1></body></html>
    #### GHIElectronics.TinyCLR.Networking.SPWF04Sx.SPWF04SxInterface::SendHttpGet [IP: 00a7] ####
    #### testWifi.App::Init [IP: 014d] ####
    #### testWifi.App::.ctor [IP: 000a] ####
    #### testWifi.Program::Main [IP: 0005] ####

Request fails but content is read !!! :scream:


#50

Even parity? Unusual to see that…


#51

That’s from doc:


#52

I burn partially stm32f407 discovery
Nor otg nor usb port working

But pins work and i used uart usb
I Did
Boot0+3.3v
Boot1(PB2)+gnd

Which allowed me to use UART loader with UART usb

Way i connected is

Uart 3.3v connected to disco 3.3v
Gnd connected to disco gnd
Tx. Can connect to any rx of disco doesnt matter which one (rx1 rx2 rx6)
Rx can connect to any tx of disco doesnt matter did is tx1 tx2 tx6

Uart flash loader work and uploaded tinyclros on it
But i read somewhere only max 1 mb flash can upload

wifi have 2 mb

So try only outer pins for wifi and just make and short connection between resetn and gnd by hand and one wire plug uart on pc after certain time remove shorted wire and try did work uart loader


#53

@valon_hoti_gmail_com, @John_Brochue: I have succeeded update firmware !!! :smile:


What was incorrect is step to set boot:

  • connect boot0 to 3.3V: ok
  • connect the board: ok
  • and after connect wifi reset pin to low and high (was wrong as I connect during power up)

#54

Glad to hear you got it updated. We’re working on getting improved documentation for the update process online soon.


#55

@John_Brochue: I can do that if you want, I know how to do it. :wink:

It should have some change with 1.0.0-preview because even with old firmware I have no more buffer error or config error. Boot seems to be not corrupt too (perhaps a better spi communication ?).

Now, I have update firmware. But I can’t join wifi AP no more.


#56

Feel free to submit a PR to the docs repo, we’re always happy to have contributions.

Did you factory reset the configuration after updating the firmware? I can’t recall the exact spot in the manual where they mention it, but they do call out resetting the config after each update. That may be why you cannot join an AP.


#57

It should be done soon.

Yes, I did it. I can confirm it is joining with 170216 version (now that I can switch fw !) but not with 171117 version even if I reset config.