*
* *
*
scene.org
Log in:
login for 1 year
No account? register here

Scene.org is hosted and supported by:
Scene.org is sponsored by:
* forum - #coders

*
Topic:  pic debugger
* Posted by dakoder Friday 11 January 2008 - 14:50 
Hi all, are there any dpmi programmers out there ?
Is there any way I can find out where the USB I/O port addresses are when in 32bit dos protected mode ?

I am trying to make a usb ICE for the bottemend range of pic's (micro-controller)

Cheers

[Post edited by dakoder on Friday 11 January 2008 - 14:51]


* Posted by iceberg Tuesday 19 February 2008 - 2:50 
I wish I could help you but I cant, I do hope you find the information and I would very much like to be kept apprised of your progress.

I am using some pic and avr chips in various home automation applications and ICE are very expensive so having a cheap route would be a gold mine.

* Posted by dakoder Monday 17 March 2008 - 0:35 
Hi, I am looking into ftdi's usb interface chip but it requires windows drivers and as I program in 32bit assembler under dos it's no good to me. until I can find a hack into the bios lookup tables for
the pci ports which could be protected causing an exception error every time I access it the ICD will have to be put on the back burner for now, but if I do find a solution (there is none on the net so far, not at least for bi-direction and the upperport which gives the extended port io) but plenty of dongle things for running a parralel printer through the usb...no good for me though.


if your interested have a look at my little project which uses my own debugger which used to program via the lpt port but now I use an easypic development tool by elektronika which is realy good,

project
www.dakoder.co.uk/edu/1
source file (pure assembly language 32 bit)
http://www.dakoder.co.uk/x86/pic/d12c508.txt
the app (runs well under windows 98 and xp)
http://www.dakoder.co.uk/pic/files/

the 12f675 version is to be used with care as it has extra code to read in the .COD file and has only been tested on a few machines... but the 16f85 and 12c stuff works fine with no known bugs.

if your scared to download and execute I understand, but if you trust me and run it you will find it a very fast and a usefull tool for learning pic stuff especialy the timers and interupts etc.
if anyone lives near exeter in devon, england who would be willing to beta test the newer versions I would love to hear from them...



happy coding


Graham

[Post edited by dakoder on Monday 17 March 2008 - 0:47]


*