Upgrade OSBDM to support RS08

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upgrade OSBDM to support RS08

18,243 Views
joerg
Contributor II
Hi Rocky
If you want i could do the layout for the RS08 support. If you send me the schematics i will enhance the EAGLE layout (for the light version) and the community could use it.

Saluti Joerg

PS:
The layout for the recent version can be found at Systech J.Schnyder GmbH -> HC(S)-System -> programmer (description with schematics and files for EAGLE (schematics and board), also the files for the LPKF milling machine)

Message Edited by Alban on 2006-12-12 09:53 PM

Tags (2)
0 Kudos
Reply
49 Replies

1,898 Views
eckhard
Contributor V
Hello,
 
I don´t know why you took an 1N5189, but I have only a 1N5817 here.
The main differece seems to be the voltage thait is 10 V and not 40 V but there are no voltages taht high.
Will the 1N5187 work ?
 
 
Eckhard 
0 Kudos
Reply

1,898 Views
joerg
Contributor II
Hi Eckhard
first a 1N5817 supports 20V! But in general the type of diode is not critical, because of the small currents we need. The converter works with a higher efficiency with a schottky diode and the 'pull down' circuit gives a secure low signal with a schottky type. The 1N5817..19 are quite oversized.

Salui Joerg
0 Kudos
Reply

1,898 Views
joerg
Contributor II
Hi
The layout for the "easy" (mostly) THT version is redy to download:

osbdm08+E.zip

(EAGLE files!)

Please have a look at it.

Any comments are welcome. The DOC will follow! Sorry there are 6 wire jumpers to solder!

Saluti Joerg
0 Kudos
Reply

1,898 Views
eckhard
Contributor V
Hello Joerg,

great work.

Eckhard
0 Kudos
Reply

1,898 Views
joerg
Contributor II

Thanks Eckhard

I have now also changed the schematics (14.12.2006 21:00) and created the DOC (BOM not valid; i am working on it).


www.systech-gmbh.ch -> HC(S) System OSBDM+ (Schematic, EAGLE files, DOC)

To Mike
where can i find the firmware. I will receive the prototype on Tuesday. I hope i can test the SMD board before Christmas.

Saluti Joerg

0 Kudos
Reply

1,898 Views
joerg
Contributor II
Hi me again!

The BOMs and DOC are updated now! Next is testing, so i need the firmware for this version!

Please feel free to fill in the missing ordering numbers in the xls flies. Sending them to me i will be able to upgrade the BOMs and DOC files.

Here the links:

http://www.systech-gmbh.ch
"OSBDM08+ DOC(V 0.3)" (pdf)
"OSBDM08+ schematics" (pdf)
"OSBDM08+ BOM" (xls)
"OSBDM08+E DOC (V 0.3)" (pdf)
"OSBDM08+E schematics" (pdf)
"OSBDM08+E BOM" (xls)


Saluti Joerg
0 Kudos
Reply

1,897 Views
baddad
Contributor I
Maybe I missed it, but what does the "+E" stand for in the previously attached files?
 
Thanks,
BadDad
0 Kudos
Reply

1,897 Views
joerg
Contributor II
Hi BadDad
E stands for "Easy" and has only two SMD components. The level shifter and the MPU. the layout and schematics are prepared for the EAGLE light version (1 sheet for the schematic and 80x100mm board size). The only thing is that i did not have the time to build and test it. I am developing a command translator so i can mill the PCB on my milling machine (Als usual the old firmware does not work with the control software). I hope next week a am ready.

Saluti Joerg
0 Kudos
Reply

1,897 Views
joerg
Contributor II
GOOD News
Five minutes ago i have plugged in my first RS08 module(build up yesterday) into the OSBDM08+ board and it WORKS!!
Since i have been able to operate my milling machine the OSBDM08+E board is also ready to be built and tested. I hope i can place other good new on Friday, 26. January 2007!

Saluti Joerg
0 Kudos
Reply

1,897 Views
joerg
Contributor II

FRIDAY!!!

OK OSBDM08+E is working! i have programmed it with the ICS software via USB. Works just fine. It seem i had a successful week. The PCB milling machine is working now, the OSBDM08+E board is running, also the KA2 module works and EBS08 is now ready for QD4 and KA2 (this version uses 3 bytes RAM and about 60 bytes ROM).

you may have a look at the picture attached.

Saluti Joerg

PS. R403 should be 68k instead of 82k for better adjustment of VPP!

 

PICT0845-640.JPG

Message Edited by t.dowe on 2009-09-01 10:29 AM
0 Kudos
Reply

1,897 Views
RockyRoad
Contributor III
Joerg -
 
Thanks for picking up the OSBDM hardware and running with it! This is great work.
 
Careful with R403. The total value that I calculated for the R403/POT401 stack is 86K. We already ran into tolerance build up problems on the very first prototype. We got in potentiometers that were at the bottom end of the +/- 20% spec and we could not get the voltage adjusted correctly. (This very first prototype used a single 100K pot.) I picked the 75K 1% fixed resistor + 20K pot that you had in the first schematic to try to account for this. (It also makes setting the pot less sensitive than with the lone 100K pot.)
 
Again, great work.
 
- Mike
0 Kudos
Reply

1,897 Views
joerg
Contributor II
Hi Mike
since a am a "E12" user (as i learned it 1974) i tried first a 82k resistor and when i have tested VPP i could reach 12.02V for the minimum! with the 68k resistor the range is between 11V an 13V so i think that should work this way. The next step will be to update the BOM (the drills for the switch have been to narrow, so i have this also changed). Then i would like to write a easy and simple "How to program the Firmware with the ICS" and "How to install the USB drivers"...

Thats all for the moment

Have a nice weekend.

Saluti Joerg
0 Kudos
Reply

1,897 Views
jarin
Contributor I
Hi all,
I built OSBDM with no RS support (that one with two LVC1T45) and it works perfectly. As I'm looking on the schematic from Joerg (like this one http://www.systech-gmbh.ch/pdfHCS/osbdm08+-10.pdf) I can see that circuitry around RST pin gets "smaller", I meant with no LVC1T45 device. Because those drivers are somehow hard to find parts (I've got only 5 pieces for terrible high price!) I thought about modification this OSBDM with RS support to get away RS support and leave only functionality with "classic" HCS08 devices, so I only need one LVC1T45 device for one OSBDM. Now I'm curious about how to connect circuitry around T201 and T202 transistors. In original schematic, on T201 was Vpp generated from DC/DC converter, regulated with pins 22 and 23 of JB16.
How to change it when I don't need "high" voltage (it's only necessary for RS parts, I don't need them)? Could I just omit circuitry around MC34063 and connect Vpp to ground? It seems somehow strange to me that's why I'm asking for help here.

Thanks for responses
Jarin
0 Kudos
Reply

1,897 Views
joerg
Contributor II
Hi Jarin
Since RESET/ is active LO and has a internal pullup resistor (if configured as RESET/) in the MPU it is best to leave all the parts away (C203,R213,T201,T202 and the VPP related parts). It should work this way for all the HCS08 devices.

Saluti Joerg

PS. Try FARNELL order number 9592725 for the 74LVC1T45DBV
0 Kudos
Reply

1,897 Views
jarin
Contributor I
Thank you Joerg, but I've got more questons...


I'm interested about this circuit, when RST is active low and device with transistors T201 and T202 can pull this line up (to Vpp), how is handled reset (pulling line low)?

I'm a bit unsure about JP401. From it disconnects output from DC/DC converter, so volatage on Vpp node will get to zero (because of that 4148 diode in reverse). What is this good for and when it's necessary to open the jumper? What is logic level on PTE0 and PTE2 pins of JB16 (and then value of Vpp) when working with HCS08 target, not RS target?

Why was in original circuit bidirectional voltage converter also for RST line (second LVC1T45)? In this circuit is state of RST pin not read back to JB16 (or I jsut can see it from schematics.




I'm sorry if I bother you with those questions, but I like to be sure about things I'm doing :smileyhappy:
0 Kudos
Reply

1,897 Views
joerg
Contributor II
Hi Jarin
First i am simple the "layouter" but i have added D402 because if somebody will not have the VPP converter running and is disconnecting JP401 the output voltage will obviously be 0V. But then the reverse body diode of T201 (not shown in the symbol) may conduct (at least for my opinion) and may also cause a reset (especially with 5V devices).

The new firmware does no more support the hardware reset of the devices (as i have understood RockyRoad) and therefore there is no need for a bidirectional driver. the reset pin on the BDM serves now only to deliver VPP.

if both outputs (PE0 and PE2) are HIGH the VPP level will bee about 1.25V. I did not measure VPP when i have operated HCS08 devices, but i can do that in the next time.

Saluti Joerg
0 Kudos
Reply

1,897 Views
jarin
Contributor I
As far as I understand, reset is not handled, because RC derivation circuit on BKGD pin will care about entering background-debug mode after on power-on, am I right? If it's so, then state of RST pin is immaterial for HCS08 chips, I just need BKGD low while switching on power (by the way, this is probably the only reliable way to enter debug mode for QG8 devices).
0 Kudos
Reply

1,897 Views
joerg
Contributor II
HI Jarin
I think it is not only because of the RS08 devices HCS08 devices with a shared RESERT/ pin are also a reason because the pin has to be put in reset mode by programming it.

And yes all the HCS08 devices with shared BKDG pins have to be started with this pin LOW at power on (that's why my AW16 board did not work with the first OSBDM i made!

Saluti Joerg

PS if you want to run your program in user mode do not switch OFF an ON that would enter BKDG mode. Simply disconnect and reconnect the device with the cable. (Assuming the power comes from the OSBDM08+(E)
0 Kudos
Reply

1,897 Views
jarin
Contributor I
So, I looked to datasheets of GT16A, GB60 and QG8 devices (those are the datasheets I had on hand).
So in GT16A and GB60 datasheet is explicitly named that debug mode is entered when low voltage while reset with reset pin (also there are other possibilites).
For QG8 device is necessary to enter debug mode while holding low BKGD while power-on reset.
How can be met condition of entering debug mode for GB and GT devices (and probably others) with no RESET function supported with this OSBDM? Is power-on reset enough to enter debug mode (with BKGD pin low) for those devices?


I talk only about HCS devices, for now I don't care about RS chips.
0 Kudos
Reply

1,897 Views
RockyRoad
Contributor III
Hi Jarin -
 
All the S08's (and RS08's) will enter active background mode during POR if the BKGD pin is held low. So we don't need to have the hardware reset function on the OSBDM boards.
 
We took the reset function off of OSBDM to try to save the cost of the 74LVC1T45 transceiver/buffer. It also makes firmware a little simpler since the reset handling is the same for all the parts.
 
- Mike
0 Kudos
Reply

1,897 Views
jarin
Contributor I
RockyRoad: That's what I was expecting, but I wasn't sure. Now everything is clear to me (also Joerg helped me).

Joerg: Yes, of course, I believe you. I didn't want to look like I disbelieve you, or disrespect or whatever. I asked so much questions just to make me sure about some things.


Thank you both very much,
Jarin
0 Kudos
Reply