• Home
  • Blog
  • PIC32 Function Calls and IO(Debugging, Subroutines in MIPS,I/O in MIPS, INPUT/OU

PIC32 Function Calls and IO(Debugging, Subroutines in MIPS,I/O in MIPS, INPUT/OU

0 comments

lab5manual.pdf I need help with my lab project. I spent significant time on that but since I am abs new to this program and its software/hardware i am still in need of major help.

my first question is in debugging that what does it mean when it says:  How many levels deep is the call and how to we trace executible stack in printf here? how to we find depth level of call in stack?!!! 

after this i need help to write your own function that will return a constant 0x80000 for the

delay loop in the demo.c program that i attached here to this instruction and print out the number of times that it has been called to the serial output. The output should look exactly like:

Hello, world! 0

Hello, world! 1

after that I need help how to  “tune” the delay values using the input switches. First, read the state

of all four switches and encode the boolean values from the switches into the lower 4-bits

of a single word. 

I attached a pdf file of detailed instruction of what is this lab about i wanted also attach demo.c file which is the c program for this lab you do not need to write C i already give you the c you need to write assembly in MIPS.If needed I have tutorial pdf too so it gives you more idea hot to start but since it only allow me to attach one pdf file i attached manual lab so you know whats up and if you know about this let me know and ill send you more file alonge with demo.c (cprogram) I def need help with what I asked and if not fully helped at least I need help how to start and do it. please help me. for this lab you should have :

This lab assumes that you have:

• MPLABX IDE v2.15 (newer versions require a PICKit3 firmware upgrade!)

http://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v2.15-windows-installer.

zip

http://ww1.microchip.com/downloads/en/DeviceDoc/MPLABX-v2.15-osx-installer.dmg

• MPLAB x32 cross-compiler v1.33

http://www.microchip.com/pagehandler/en_us/devtools/mplabxc/

*CoolTerm 

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}