Nicholas Cooke

Newbie needs help with 52223EVB

Discussion created by Nicholas Cooke on Dec 18, 2006
Latest reply on Dec 20, 2006 by olivierm olivierm
Hi
 
I have posted a similar ? in the Dev Board site.
 
I have installed the CodeWarrior v6.3 IDE and have created the MyPrioj from Stationery. This is where I get lost. I have managed to drive the LED's (major milestone for a dummy like me). I am now trying to venture down the road of getting the switches to call the interrupt routines.
 
I see all sorts of files (.c and .s) and am not to sure where to start. Does one have to make specific calls to the mcf5.._init() function etc to get vector tables set up before actually being able to do anything. I see functions for the irq4 5 and 7 which make calls to the sw_handler functions but get stuck here.
 
Is there something simple that I am forgetting to do in the build/make process - my understanding of the use of Statioenry provided is to be able to get up and trucking with things like UART configuration etc very quickly.
 
Hope someone can point me in the right direction.
 
I am ultimately trying to get a USB stack going - will the USB stack code provided help and are there any major tricks required here. No point in reinvenitng a wheel!!
 
Regards
 
Nic

Outcomes