English Amiga Board


Go Back   English Amiga Board > Requests > request.Other

 
 
Thread Tools
Old 08 January 2009, 06:59   #1
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
minimig buiding (was:howto setup cfg bits for minimig´s PIC 18LF252?)

Is there abybody who already programmed PIC for minimig and can give me hints how to set cfg bits properly? trial and error method seems to be very time consumpting



I just need to burn tinybootloader into it

Last edited by Chain; 09 January 2009 at 17:35.
Chain is offline  
Old 08 January 2009, 17:03   #2
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
bump
Chain is offline  
Old 09 January 2009, 07:08   #3
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
nobody?
im sure there are few user which makes it
Chain is offline  
Old 09 January 2009, 11:46   #4
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
Hi,

As the Watchdog Timer is disabled the WDTPS bits are irrelevant.


It's most important to disable Low Voltage Programming.
If Brown-out Reset is enabled the VBOR should be set to 2.7V.


Caution: in the picture below selecting an option clears the selected bit!
All protection bits should be unprogrammed ('1').


The ID bytes don't matter.


Are you building a Minimig for yourself?

Cheers!

Last edited by yaqube; 09 January 2009 at 14:43.
yaqube is offline  
Old 09 January 2009, 12:25   #5
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
thanks for that!!

yes ive build it, now it just need to push teh pic on a socket
hope it will works (leds are working, and all voltages are in boundaries, no hot parts spotted)
Chain is offline  
Old 09 January 2009, 13:50   #6
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
ive set it as on this screenshot, still pc tinybld cant see the pic

http://chain.3dgrafika.cz/temp/bits.gif
Chain is offline  
Old 09 January 2009, 14:30   #7
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
My mistake, the Low Voltage Programming must be DISABLED as it prevents the use of the RB5 pin as the general purpose I/O. Nevertheless you should be able to boot the FPGA with such configuration.

I can see you have enabled Stack Overflow Reset which should be disabled but it shouldn't be a reason why Tinybld can't see the PIC.

Immediately after reset or power-up the bootloader inside the PIC expects to receive a token from the Tinybld. If it doesn't happen in a given time window (a second or so) the bootloader jumps to the programmed code.

The best way is to press and hold the PGM RESET button then click CheckPIC or Write Flash in the Tinybld and then release the PGM RESET button.

Make sure you have a jumper in MCU position on your Minimig board.

Last edited by yaqube; 09 January 2009 at 14:40.
yaqube is offline  
Old 09 January 2009, 15:27   #8
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
Connected to \\.\COM1 at 115200
Searching for PIC ...
Found:18F 252o/452o

but tinybld crashes while flashing the minimig core hex file

Last edited by Chain; 09 January 2009 at 15:37.
Chain is offline  
Old 09 January 2009, 15:53   #9
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
now ive tried older pc exe (tinybld) 197 instead of 198 and

HOLY COW!

Connected to \\.\COM1 at 115200
HEX: 256 days old, INHX8M,18Fcode, total=14916 bytes.
Searching for PIC ...
Found:18F 252o/452o
WRITE OK at 15:52, time:7.359 sec


now green led is flashing!
Chain is offline  
Old 09 January 2009, 15:59   #10
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
The number of flashes depends on the error condition. You must have an SD/MMC card formatted using FAT16 filesystem and have minimig1.bin file in the root directory.
yaqube is offline  
Old 09 January 2009, 16:13   #11
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
monitor says out of range, and i have jumper set to 31 khz

Ive copied kick.rom and minimig1.bin to fat16 formatted sd card (1gig goodram)

Last edited by Chain; 09 January 2009 at 16:31.
Chain is offline  
Old 09 January 2009, 16:22   #12
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
Probably you have used a PAL core which outputs 50 Hz vertical sync and your monitor is not capable of it. Try to use an NTSC core.
yaqube is offline  
Old 09 January 2009, 16:32   #13
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
checked that with lcd which says 15.6khz,49.9hz, in both jumper positions
ive probably fucked up that spartan
Chain is offline  
Old 09 January 2009, 16:40   #14
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
with ntsc core its 15.6khz,59,4hz, always


need a new pcb and will start again
Chain is offline  
Old 09 January 2009, 16:47   #15
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain


anynone knows if some boards from nusim ltd still left for sale?
Chain is offline  
Old 09 January 2009, 16:55   #16
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
Don't give up. It's hard to destroy this beast. Remove the 15kHz jumper and measure the voltage at this pin then tell us what it is. It's probably shorted to ground.
yaqube is offline  
Old 09 January 2009, 17:16   #17
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
fond one joint around that pin which leads on scan rate jumper

now it make some color stripes and then it stops at blue screen

Last edited by Chain; 09 January 2009 at 17:37.
Chain is offline  
Old 09 January 2009, 17:20   #18
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
What version of the PIC firmware and the FPGA core file are you using?
yaqube is offline  
Old 09 January 2009, 17:35   #19
Chain
A-Collector, repairments
 
Chain's Avatar
 
Join Date: Jul 2001
Location: Czech Rep.
Age: 50
Posts: 1,536
Send a message via ICQ to Chain
im back to original one: minimig1_build_27_04_2008
Chain is offline  
Old 09 January 2009, 17:53   #20
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
That one has a built-in memory test but I'm not familiar with it. I hope you have also reflashed the PIC to an appropriate firmware version because they are not interchangeable.

Besides your problems might be caused by other solder joints, it's very common.
yaqube is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
wtb. programmed pic chip for minimig webhead MarketPlace 0 04 August 2009 19:40
MKick Howto? maxlock support.Other 2 12 June 2008 19:01
Emulators - Registry / .CFG / .INI NLS Retrogaming General Discussion 4 15 January 2008 11:08
best cfg for aga games newge support.WinUAE 1 26 May 2002 13:05

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:02.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11137 seconds with 14 queries