Main Site Documentation

LDR0 and LDR1 with a single pushbutton switch


#1

We are building a PCB using the G120 chip, and got a question about the LDR0 and LDR1 pins.
Can I safely join the two pins together, let them float (no pullup to high) ?
And when I would need to upgrade the firmware, I ground them both together (using a pushbutton switch for example)?

The reason why is that we just want to expose a single switch outside the enclosure when a firmware update is necessary.

I already tested the method and it works with the G120HDR, but just want to confirm if it’s an OK solution or if it’s hack that may or may not work in the future.


#2

Looks ok to me


#3

Can I safely join the two pins together, let them float (no pullup to high) ?

I believe the pullups are already on the G120 module.


#4

Yep,

Cobra II schematics suggests the same.

http://www.ghielectronics.com/downloads/FEZ/Cobra_II/FEZ%20Cobra%20II%20sch.pdf


#5

Thanks for the help!


#6

You are welcome!


#7

What about if you need to go into Tinybooter mode as LDR0 needs to be high and LDR1 low?


#8

Could happen, but normally you use the G120Updater from GHI once the GHI bootloader is installed.
Seems like a safe design step.


#9

Yes this is how I intend to update the firmware: using the GHI updater.
Thanks for all the feedbacks


#10

Not being able to get into TinyBooter mode may cause a problem in the future with SDK version upgrades?


#11

I think it is alright. Not recommended but in worst case you can enter GHI loader, load tinybooter only without firmware and run teh device. IT will boot in tinybooter :slight_smile:


#12

Hey just to say that so far the solution works.
I press the LDR0+LDR1 as a single switch, reboot the device (either reset or plug and unplug) and I can update the firmware.
This is on our new custom board using the G120.
Thanks!


#13

Can you share details about your product?


#14

And some photos please :smiley:


#15

This is for monitoring and data acquisition of industrial machines.
I will give more info once we have everything all sorted out :slight_smile:

But here are some teasers:
http://s10.postimage.org/x9vz5h5p5/IMG_0269.jpg
http://s13.postimage.org/lbygh9d13/IMG_0270.jpg

Mainboard Features:
-wifi
-ethernet
-Power over ethernet
-MicroSD
-G120
-1wire
-RS485
-LCD touchscreen
-Soundcard speaker+mic

IOBoard:
1wire
input of wide range (7v to 280v DC/AC)
output of wide range (0-280V AC/DC 12a)


#16

Nice! I love that we’re seeing more commercial products posted here lately. :smiley:


#17

Please share with us. Maybe we can post on showcase as well, like this one http://www.tinyclr.com/forum/topic?id=11189


#18

@ PhilM - Great looking device!