Wifly command mode problem

Hi Everyone, I’m about to my wits end trying to get my Wifly into command mode, I’m not sure if it’s a software problem, or if its hardware. I’ve tried using Sparkfun’s WiFly Transparent Terminal Sketch http://www.sparkfun.com/commerce/images … rminal.zip, and the new Arduino Library, in both cases the WiFly just hangs after I get the Bridge initialized successfully message. Below is all that the WiFly every prints to the terminal window.

WiFly Shield Terminal Routine
Bridge initialized successfully!
WiFly Ver 2.18, 02-02-2010
MAC Addr=00:06:66:00:3a:cf
A

I assume that it’s stuck in a loop somewhere since I can’t even input the “$$$”, and I’ve never seen it display CMD. I’ve tried different terminal emulators, both on a Mac and PC, I’ve tried different arduino’s with all the possible sketches that anyone has every posted about, but I still can’t get this to work! Am I missing something? or maybe I just have faulty hardware? Any advice would be greatly appreciated.

Thanks for the help!

Try one more thing in void autoconect somwere add factory RESET

like so

http://www.sparkfun.com/commerce/images … onnect.zip download this skech first,

then begining of this

char autoconnect(void)
{
  // Exit command mode if we haven't already
  SPI_Uart_println("");  
  SPI_Uart_println("exit");
  delay(500);

  // Enter command mode 
  SPI_Uart_print("$$");
  delay(500);

change to

char autoconnect(void)
{
  // Exit command mode if we haven't already
  SPI_Uart_println("");  
  SPI_Uart_println("exit");
  delay(500);

  // Enter command mode 
  SPI_Uart_print("$$");
  delay(500);
  // factory reset 
  SPI_Uart_print("factory RESET");
  delay(500);
  // save
  SPI_Uart_print("save");
  delay(500);

let it run for a few second then try transparent terminal(http://www.sparkfun.com/commerce/images … rminal.zip) skech or unmodiefied auto connet one hope will help

it help me when i coudnt change ports needed factory reset but terminal wasnt sending any commands after this one all working fine so far

As a pointer for future readers, Kevin posted his solution here: viewtopic.php?f=13&t=21882

(Thanks for doing so. :slight_smile: )

–Philip;

kevinlouie:
Hi Everyone, I’m about to my wits end trying to get my Wifly into command mode, I’m not sure if it’s a software problem, or if its hardware. I’ve tried using Sparkfun’s WiFly Transparent Terminal Sketch http://www.sparkfun.com/commerce/images … rminal.zip, and the new Arduino Library, in both cases the WiFly just hangs after I get the Bridge initialized successfully message. Below is all that the WiFly every prints to the terminal window.

WiFly Shield Terminal Routine

Bridge initialized successfully!

WiFly Ver 2.18, 02-02-2010

MAC Addr=00:06:66:00:3a:cf

A






I assume that it's stuck in a loop somewhere since I can't even input the "$$$", and I've never seen it display CMD. I've tried different terminal emulators, both on a Mac and PC, I've tried different arduino's with all the possible sketches that anyone has every posted about, but I still can't get this to work! Am I missing something? or maybe I just have faulty hardware? Any advice would be greatly appreciated.



Thanks for the help!

Hi

I’m just learning how to use the WiFly module. I designed a board with PIC to control it. I managed to connect to command line using hyper terminal. I noticed I could only connect to command line $$$ if GPIO-9 is at hi level 3.3v(ADHOC MODE) Then I managed to set commands using PC. May be this is the solution to your problem.

I’m still having trouble connecting it to my wireless router, I will report here when I do further reading.

-Mahmood-

Hello,

Are the RTS/CTS reversed in RN-121 (wifFly module) compared to the standard active high logic?

Send an email to techsupport @ sparkfun.com and we’ll try to diagnose your problem.

sram:
Hello,

Are the RTS/CTS reversed in RN-121 (wifFly module) compared to the standard active high logic?

Have you gotten an answer???

I have an RN-121 also. I used the set baud flow 1 to set it, but I still can’t get anywhere either.

Found that if you set the comms parameters in the SC16IS750, then make sure that the crystal is the right speed… all of a sudden everything started working for me. It’s still a little slow and buggy, but I’m heading into the right direction…

I’m having the same problem! It never enters the CMD mode… Could you please share your solution?

Best Regards,

Bruno Mosconi