Author Topic: FYI: Simblee USB shield can program RFD22301  (Read 2501 times)

rm

  • RFduino Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
FYI: Simblee USB shield can program RFD22301
« on: May 25, 2016, 06:51:25 AM »
In case anyone was curious, I tried it and it works. I soldered on the +3V, GND, Reset, GPIO 0, and GPIO 1 on an RFD22301 and plugged them into the Simblee RFD USB shield as diagrammed in the datasheet (http://www.rfduino.com/wp-content/uploads/2015/08/RFD22301.Data.Sheet.08.20.15_4.36PM.pdf) and it worked!

tolson

  • Global Moderator
  • *****
  • Posts: 844
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: FYI: Simblee USB shield can program RFD22301
« Reply #1 on: May 25, 2016, 09:45:45 PM »
Hi RM,

There is no Simblee USB Shield per se. The Simblee modules from RFDigital are programmed using the RFduino USB Shield. All the RFduino shields fit the two Simblee modules from RFdigital.

aeolus

  • RFduino Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: FYI: Simblee USB shield can program RFD22301
« Reply #2 on: July 14, 2016, 10:57:29 PM »
Hi RM,

I am trying exactly this,  RFD22121 to Simblee on a custom PCB, and its not working. In fact, using jumpers from the RFD22121 USB sheild even to a RFduino DIP on a custom PCB won't upload. The shield is good, can upload to an RFduino sheild w/o problems. And I guess this post tells me its not the USB sheild in the Simblee case. For the RFduino DIP, its uploaded once or twice, but every other time I get:

Quote
Timeout reading from uart.

fail.......fail.......fail.......

in both cases. I've check more times than I can count that the PCB should work.

Any ideas how to troubleshoot this? Could the jumpers be too long?

tolson

  • Global Moderator
  • *****
  • Posts: 844
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: FYI: Simblee USB shield can program RFD22301
« Reply #3 on: July 15, 2016, 10:40:15 AM »
Perhaps show a schematic of how you have wired your project would help someone understand where you have issue.

aeolus

  • RFduino Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: FYI: Simblee USB shield can program RFD22301
« Reply #4 on: July 24, 2016, 12:50:51 PM »
Hi tolson, sorry it has been a busy week.

I have just tested my RFD22121USB Shield with my RFD22102 RFduino DIP stacked, and the sketch uploads just fine. Because I am trying to debug, I then simply un-stacked the RFD22102 RFduino DIP and made the neccesary connections via jumpers. The following connections are constants in the debugging:

RFD22121USB Shield RST <--> RFD22102 RST
RFD22121USB Shield GPIO0 <--> RFD22102 TXD/GPIO0
RFD22121USB Shield GPIO1 <--> RFD22102 RXD/GPIO1

Here is the interesting bit (to me anyway). The variable connections are the power. My actual breakout PCB is Li+ powered, so I wanted to see if the 3.6V was having some malicious affect. I attached it via jumpers to my RFD22102 shield. When:

B+ <--> RFD22102 3.3V
B- <--> RFD22102 GND

the connection times out

When:
B+ <--> RFD22102 3.3V
B- <--> RFD22102 GND <--> RFD22121USB Shield GND (Parallel Connections)

the sketch uploads fine.

Now for my custom PCB, I've attached the eagle files. I should be able to use jumpers and connect:
P+ Breakout w/ RFD22301<--> RFD22121USB Shield 3.3V
P- Breakout w/ RFD22301 <--> RFD22121USB Shield GND
RST Breakout w/ RFD22301 <--> RFD22121USB Shield RST
TXD/GPIO0 Breakout w/ RFD22301 <--> RFD22121USB Shield TXD/GPIO0
RXD/GPIO1 Breakout w/ RFD22301 <--> RFD22121USB Shield RXD/GPIO1

and the upload should go, correct?

The only other thing I can think of is that I buggered up my RFD22301 on the board somehow, but don't know how to check that short of buying another (an expensive I'd like to avoid, as I am over budget already  :-\ )

EDIT: Fixed product number typos
« Last Edit: July 24, 2016, 12:53:22 PM by aeolus »

tolson

  • Global Moderator
  • *****
  • Posts: 844
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: FYI: Simblee USB shield can program RFD22301
« Reply #5 on: July 24, 2016, 02:34:12 PM »
1. Your board layout doesn't show any ground connections to the RFD22301, thus it is not powering up, thus the fail...fail...fail.

2. FYI, You can not connect a LiPO 3.6v (actually 4.2v when charged) directly to RFduino less you eventually let out the blue smoke! You must use a voltage regulator in the design anytime the supply voltage could get larger than 3.6v MAX.


aeolus

  • RFduino Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: FYI: Simblee USB shield can program RFD22301
« Reply #6 on: July 24, 2016, 06:58:23 PM »
Hi Tolson, thanks for the response.

1. Could you elaborate a bit? I am pretty sure it is grounded; if not I'd be extremely embarrassed. Please see the eagle screen shots as to why I believe it is. Using the "show" feature in eagle, it shows that the ground pads for the RFD22301 are connected to the P- pad. This is where I have been connecting to the RFD22121USB Shield GND (P- is GND on this board).

2. Thanks for the heads up! I will have to redesign the board to include that. I should be able to look up how, but do you have any quick recommendations?

Thanks for the help! Sorry I am not a EE, but very interested, and trying hard. Its fun!

tolson

  • Global Moderator
  • *****
  • Posts: 844
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: FYI: Simblee USB shield can program RFD22301
« Reply #7 on: July 24, 2016, 10:49:12 PM »
Interesting! What I got from your previous .brd file doesn't have those polygons.

Looks like this...


aeolus

  • RFduino Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: FYI: Simblee USB shield can program RFD22301
« Reply #8 on: July 24, 2016, 11:08:07 PM »
Ah yes. I think you need to "rat's nest" it to see them. The board definitely has the ground fill though

tolson

  • Global Moderator
  • *****
  • Posts: 844
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
Re: FYI: Simblee USB shield can program RFD22301
« Reply #9 on: July 24, 2016, 11:11:38 PM »
I see. It is probably better to show gerber output files when showing board layout.

aeolus

  • RFduino Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: FYI: Simblee USB shield can program RFD22301
« Reply #10 on: July 26, 2016, 08:06:58 PM »
Will upload Gerber files next time.

Also, I had a broken RFDuino SMD (some solder got under the shield accidentally, not sure what havoc it wrecked). And my Simblee board just had some mislabeling. I crossed the correct wires, and its working great now! Thanks for your time tolson!

USB shield works for Simblee! :)

lsnyman

  • RFduino Sr. Member
  • ****
  • Posts: 142
  • Karma: +1/-0
    • View Profile
Re: FYI: Simblee USB shield can program RFD22301
« Reply #11 on: October 22, 2016, 09:46:33 PM »
I have had this same error message twice on my own boards now.
Today while uploading a sketch to a board it failed like that.  Nothing I did would fix it, including removing the port, re-installing FTDI drivers and even changing the COM port number.
Connected the same board into another computer and it uploaded flawlessly.
Is there some chance that Windows sees a glitch writing to the UARt and blacklists that board?