Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:02 23 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : It’s a great day when ...

Author Message
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 06:44pm 27 Aug 2011
Copy link to clipboard 
Print this post

... you discover that your relatively new SMD soldering tool won't regulate temperature and displays "5 - E" permanently --- but you decide that this isn't good enough, take it apart and twiddle with it and it starts working again.

I've had a great day.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 06:55pm 27 Aug 2011
Copy link to clipboard 
Print this post

... glad for you .
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 12:02am 28 Aug 2011
Copy link to clipboard 
Print this post

sounds a bit like dry joint`s to me or cheap crappyt connectors ::we do live in the age of ciggarette lighter theory,,,,:::::
technicians do it with least resistance
 
Xiongmao

Regular Member

Joined: 25/08/2011
Location: Australia
Posts: 48
Posted: 03:32am 28 Aug 2011
Copy link to clipboard 
Print this post

ciggarette lighter theory,,,,:::::

Is that:-
1. use it a couple of times the throw it away?
2. The more you need it, the more you can't find it?
3. If you don't watch what you are doing, it'll burn ya!
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 05:43am 28 Aug 2011
Copy link to clipboard 
Print this post

I just pulled the chip out of its cheapo socket and refitted it, then pulled and replugged all the connectors. Cigarette lighter theory? Love it.

Rob
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 12:49am 06 Sep 2011
Copy link to clipboard 
Print this post

Just had another great day. I was looking for some fast SRAM and found a guy on eBay selling 10nS 256k x 16 chips for 1 Euro each. He charged me E1.60 for postage, so the total came to about AU$13.50

Last one I bought cost me $9.50 and it was 70nS speed.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 01:01am 06 Sep 2011
Copy link to clipboard 
Print this post

hey rob you got any old socket 3 boards there 486 pci
technicians do it with least resistance
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 01:10am 06 Sep 2011
Copy link to clipboard 
Print this post

Nope. Lowest I have is an AMD 586DX133 I got rid of all the 486's years ago.

Edit: Oh, you're thinking of DRAM. No I meant SRAM (Static RAM). Usually very expensive stuff.

Rob
Edited by haiqu 2011-09-07
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 04:30am 06 Sep 2011
Copy link to clipboard 
Print this post

do u mean cache dip ram i have 128 of 72 pin ram sticks
and whats that 586 amd 133 i` would buy that off you...how much Edited by sparkey 2011-09-07
technicians do it with least resistance
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 12:16pm 06 Sep 2011
Copy link to clipboard 
Print this post

Nope, you're still thinking PC memory. I'm talking embedded stuff like this:

SRAM

The old 586 isn't for sale, and even if it was I'd have to dig it out of storage and extract all the old data off it first which is too much effort.

Re your PM: I can't remember what socket they used, maybe Google will help. It was the last of AMD's non-pentium compatibles anyhow, they extended the 486 and jumped Intel with it for a while.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 03:29am 07 Sep 2011
Copy link to clipboard 
Print this post

hey rob when i install the parts for the rtc ..will it just run and not need any special hex for it...regards sparkey....thanks ...
technicians do it with least resistance
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 09:20am 07 Sep 2011
Copy link to clipboard 
Print this post

  sparkey said   hey rob when i install the parts for the rtc ..will it just run and not need any special hex for it...regards sparkey....thanks ...


No, it won't just work by itself. Currently the firmware supplied will talk to I2C port 1 which comes out on the rear connector. What we need to talk to is I2C port 4.

I have some code done but it's not finished, mainly because I have so many other things happening right now. Between RetroBSD, the serial card and another major project I've been running out of hours in the day.

Don't worry, it will get done. I'm hoping to come up with something good enough that Geoff will consider putting it in the main distribution. If not, I'll patch each major code release as it comes out.

BTW this won't require any BASIC, it's all being done in C.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 09:52am 07 Sep 2011
Copy link to clipboard 
Print this post

well the board that i have in inverter is the one that i will be using the RTC on and it has specil hex so if i give you a copy of the hex code maybe you could write the needed mods to that code and pm it back to me or put a post with the modded file ..i wont need to up date it as far as i know but i am still writing extra screen outputs atm so its ok i`ll just waight till it get`s to the state that i am happy with once finalized the hex will never need to be changed

regards sparkey....
technicians do it with least resistance
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 10:52am 07 Sep 2011
Copy link to clipboard 
Print this post

  haiqu said  No, it won't just work by itself. Currently the firmware supplied will talk to I2C port 1 which comes out on the rear connector. What we need to talk to is I2C port 4.


Hi Rob.

Just curious regarding your intended implementation using I2C port 4.

Pin 6 of the MCU is also the SDO2 pin and this is used to supply the video bitstream. If you were to use this pin for I2C, are you disabling the video when communicating?


Regards

Gerard (vk3cg/vk3grs)
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 06:08pm 07 Sep 2011
Copy link to clipboard 
Print this post

Hi Gerard,

If you have a look at the circuit of the SM1, the RTC chip is connected to pins 4 & 5. It's not actually a pair as defined by Microchip, it uses SDA4 and SCL2. I'll probably have to bit-bash the solution but since it only runs for a microsecond at boot time this shouldn't affect anything else.

On the original board those pins are unused. If there's any interaction with the video pin, the worst effect noticeable might be a very short video dropout when setting the time, if I have to disable it at all. And since the batteries should last up to 10 years this doesn't really seem like an issue.

Because of the limited usage it won't need to sit in an interrupt loop like I2C1 anyhow. The read routine can be inserted before initializing the video in main(), I'm still thinking about ways to implement the time setting routine.

Rob
Edited by haiqu 2011-09-09
unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 09:56pm 07 Sep 2011
Copy link to clipboard 
Print this post

Hi Rob.

OK.

Be aware that once the video subsystem is running, pin 4 will have the pixel clock output on it (even though it is not used by the video subsystem, when the SPI 2 is running in framing mode the SPI clock is output on this pin in free running mode - so you will have a 20Mhz output).

Regards

Gerard (vk3cg/vk3grs)
 
sparkey

Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 819
Posted: 02:14am 08 Sep 2011
Copy link to clipboard 
Print this post

just dropping a short not that i got the parts to day thanks rob ....regards sparkey
technicians do it with least resistance
 
haiqu

Senior Member

Joined: 30/07/2011
Location: Australia
Posts: 152
Posted: 05:03pm 08 Sep 2011
Copy link to clipboard 
Print this post

Sparkey,

Good news! Looks like none of them went missing, I can breathe a sigh of relief.


Gerard,

Yup, that's what I suspected. I may have to do something "interesting" to get the time set initially, but once it's done the board should outlive the interest of its owner with time settings intact. Only downside would be if it drifts and needs resetting occasionally.

The pixel clock shouldn't affect the RTC chip, it will simply reject anything that doesn't look like an I2C message.

Thanks for your comments, I appreciate your technical knowledge.

Rob

unzip, strip, touch, finger, grep, mount, fsck, more, yes, fsck, fsck, fsck, umount, sleep
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024