Thread: assembly for M8 microprocessor series

  1. #1
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110

    assembly for M8 microprocessor series

    Don't ask me why but I'm currently having a project for school , we need to use the CY7C63001 microcontroller which is a low speed usb controller from cypress.

    Problem is the thing is so old , i cant find too much info on this controller.. So far i've managed to get my hands on an assembler for this controller, problem is since I have only programmed for the 68K I don't know where to start...

    I've already got my hands on a brief explanation on the assembly language that is used to program this controller.

    What I'm looking for now is some sort of Visual Simulator like I have for the 68K. Currently I only have the assembler which is a console program.

    If I would have a visual simulator it would really help me alot to bring this project to a good end.

    So anyone around that has experience with programming for these series or that has some more info, feel free to respond , I'd really appreciate it.

    Thanks in advance,

    Ganglylamb.

    PS: If there are any other low-cost low speed usb controllers , and you have experience with these please share your knowledge. I've already been looking in the enCore series - also from cypress , they are more advanced and replace alot of otherwise needed external components that are now directly integrated in the chip. The reason why I don't really want to use this controller is because of the cost, the controller itself is cheap, but the developer kit which is pretty necessary is too expensive for this project ( which is funded by our school since we'll be making some kind of educational purpose board they want to use next year )
    Last edited by GanglyLamb; 02-16-2006 at 03:27 PM.

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Here's a site to visit:
    http://lvr.com/usb.htm

    [edit]I used to work with the guy who made the USBSIMM. [edit=2]Found Rob's site.[/edit]. I remember him mentioning John Hyde's stuff as well (you may want to contact him).

    We used Keil's compiler. He had used the simulator and emulator and such. For debugging I generally used a 'scope with a couple of free outputs because of issues with enumeration/renumeration.[/edit]
    Last edited by Dave_Sinkula; 02-16-2006 at 08:45 PM.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    Quote Originally Posted by Dave_Sinkula
    We used Keil's compiler. He had used the simulator and emulator and such. For debugging I generally used a 'scope with a couple of free outputs because of issues with enumeration/renumeration.[/edit]
    Yep, been looking at that as well .

    I check the other sites this evening after school, and like you say for debugging I will just have to spend some time in the labs from the school - I dont have some scope just lying around .


    Thanks Dave .

  4. #4
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    I know im bringing up an old topic but I just wanted to share my knowledge here , which I've gathered along the road.

    http://www.elektuur.nl/Default.aspx?...%20thermometer

    This link contains an article (although its in dutch - it contains a schematic of how to connect the controller etc.) but the most important part is the zip located at
    http://www.elektuur.nl/Portals/0/Mag.../000079-11.zip

    It contains the asm file , the drivers (win xp, win95 en win 98 ) and a vb program to control the controller (CY7C63001). You can still fiddle around with the firmware and make modifications to whatever you need. Just be aware that this controller is OTP and as far as I know there's no controller that has the same architecture etc and that uses EEPROM or anything else erasable , so make sure you know what you'r doing with the firmware or you'll end up with a uselesss controller.

    And if you really don't want to mess with the firmware (to free more output pins ) then you can always use a shift register controlled by 2 ports from the controller ( one clock , one data ). Although it will be slower you will still gain control of more "output ports".

    That's all ( of course I learned more about this whole thing but these are the most important things and should get you on your way rather fast ).

    -Ganglylamb.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Learning Assembly
    By mrafcho001 in forum Tech Board
    Replies: 5
    Last Post: 03-12-2006, 05:00 PM
  2. C to assembly interface
    By Roaring_Tiger in forum C Programming
    Replies: 4
    Last Post: 02-04-2005, 03:51 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  5. C,C++,Perl,Java
    By brusli in forum C Programming
    Replies: 9
    Last Post: 12-31-2001, 03:35 AM