Welcome, Guest. Please login or register.

Author Topic: The MiniMig PIC update issue thread  (Read 5906 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline yaqube

  • Full Member
  • ***
  • Join Date: Feb 2008
  • Posts: 197
    • Show only replies by yaqube
Re: The MiniMig PIC update issue thread
« Reply #29 from previous page: October 22, 2008, 05:06:02 PM »
I have made a small experiment: set my serial port speed to 460800 and I get the "Ç" character as the first after reset. It means that the Minimig transmits 4 times slower than it should.

Maybe you have 4.43MHz crystal oscillator connected to the PIC or the 20MHz one is an overtone oscillator and in your Minimig it oscillate at its fundamantal frequency.

The PIC has programmable bits for oscillator configuration, if they are not programmed to HS mode the oscillator may not be able to operate at its rated frequency. These bits can only be programmed in external programmer.
 

Offline odin22Topic starter

  • Newbie
  • *
  • Join Date: Sep 2008
  • Posts: 19
    • Show only replies by odin22
Re: The MiniMig PIC update issue thread
« Reply #30 on: October 22, 2008, 06:50:46 PM »
I checked the print on the crystal and it says "20.0C79" which I am fairly confident means that it should be running at 20Mhz. Printed next to the crystal on the board is "2X". Not sure what to make of that. The only crystal running at 4.43Mhz is the one next to the PGM Reset button and the SD slot. Next to it is printed "1X" on the board.

But if what you are saying is true about the PIC being in charge of the frequency at which the oscillator runs, it looks like I'm {bleep} outta luck.

Regarding the various baud rates, I have now tried everything between 2400 and 115200. All of them return various results in the HyperTerminal window. Some write out multiple lines of one or two characters. Others just write out a few characters. None of it legible text, though. It is all just strings of garbage. No boot text from Dennis.
I have tried both with and without an inserted SD card with a minimig1.bin file on it.

I am sending it off to Finland tomorrow to let Andeda have a look at it. If he finds the same issues as me, we can be pretty sure I just have a faulty board, and when it returns I will send it back to ACube to fix within warranty.
 

Offline Anding

  • Newbie
  • *
  • Join Date: Nov 2004
  • Posts: 43
    • Show only replies by Anding
Re: The MiniMig PIC update issue thread
« Reply #31 on: October 23, 2008, 01:01:11 AM »
Odin22,

Given what you've already tried, if I was in your shoes I might be tempted to send it directly to ACube under warranty now and save time?

Good luck anyway,
 

Offline MiniMorph

  • Newbie
  • *
  • Join Date: Dec 2007
  • Posts: 23
    • Show only replies by MiniMorph
    • http://www.minimorph.com
Re: The MiniMig PIC update issue thread
« Reply #32 on: October 23, 2008, 02:02:26 PM »
You could program it with an IC Socket, Five wires and a little berg header.

I can post you those bits.

As others say getting a PIC programmer for this issue is overkill.

I could send you a PICStart2 that is gathering dust round here. I am in the UK however, somebody in your own country can help I guess.

I have been developing using PICs for well over 10 years by the way !
Time is an Illusion lunch time doubly so!

FordP, from the Garden of England
 

Offline odin22Topic starter

  • Newbie
  • *
  • Join Date: Sep 2008
  • Posts: 19
    • Show only replies by odin22
Re: The MiniMig PIC update issue thread
« Reply #33 on: November 01, 2008, 12:09:20 PM »
Just a slightly delayed update:

As mentioned, I sent off the board and PIC to Andeda who has been looking into it and (somewhat luckily) he found that it was not me who was going insane: The board is indeed broken. The problem exists somewhere between the RS232 interface and the PIC socket, and because of that he experienced the exact same problems I have been jammering on about. So there. Mystery solved.

Andeda has been kind enough to update the PIC via an external programmer (thanks! - oh, and also thanks to MiniMorph above for offering to send me some bits and pieces for a rudimentary DIY kit, but it looks like I won't be needing it). When the board comes back, I will contact ACube and have it shipped off to them for a fix or exchange.

Thanks to everyone in the thread for their tireless efforts.
 

Offline Norway

  • Jr. Member
  • **
  • Join Date: May 2004
  • Posts: 66
    • Show only replies by Norway
Re: The MiniMig PIC update issue thread
« Reply #34 on: November 04, 2008, 02:14:23 PM »
i have just gotten myself a pic programmer, but what file do i put into my ic. i downloaded tiny bootloader, but there were so many files. as you read im not mutch into this. but i think its fun :-)  :-)  anyone ..?
 

Offline Andeda

  • Hero Member
  • *****
  • Join Date: Jan 2006
  • Posts: 594
    • Show only replies by Andeda
Re: The MiniMig PIC update issue thread
« Reply #35 on: November 04, 2008, 02:32:33 PM »

Hi there

try this: tinybld_18F252_20MHz.HEX



Quote

Norway wrote:
i have just gotten myself a pic programmer, but what file do i put into my ic. i downloaded tiny bootloader, but there were so many files. as you read im not mutch into this. but i think its fun :-)  :-)  anyone ..?
Amiga: A computer for the creative mind.

Sam440ep 667Mhz + OS4.1
Minimig (Home made)
A1200/030
A2000/030
A500 * 3
CD32