Gary Armstrong Posted August 26, 2015 Share Posted August 26, 2015 I have purchased a uC32 Chipkit (with a Pic32MX340F512H). I have a PicKit3 for development. I was provided a blink.c example which I now have running. Can anyone provide an assembly language example? I am running MPLAB X IDE. Link to comment Share on other sites More sharing options...
Josh Posted August 26, 2015 Share Posted August 26, 2015 Hi Gary, All of the example projects that Digilent has for the uC32 can be found on the wiki page here: https://reference.digilentinc.com/chipkit_uc32:chipkit_uc32 Unfortunately, we don't have any assembly code projects for the uC32, you might be able to find something in the chipKIT forums though. -Josh Link to comment Share on other sites More sharing options...
Alex Posted August 26, 2015 Share Posted August 26, 2015 Hi, I guess that is the same question you asked in this post. https://forum.digilentinc.com/topic/909-uc32-chipkit/ Link to comment Share on other sites More sharing options...
benderamp Posted September 1, 2015 Share Posted September 1, 2015 Try this one as simple as possible, this will not even blink, but will only switch the LED on https://github.com/1i7/verilog-basics/blob/master/mips-pic32/task1_1-light-asm/light.S #include <p32xxxx.h> #################################################################### # Зажечь лампочку на ножке RD10 (chipKIT #8) ассемблером main: .global main # Помечаем метку main как глобальную # Установить ножку RD10 как вывод - установить бит TRISD[10] в 0 - отправить 0x400 в TRISDCLR li t1, 1 << 10 la t2, TRISDCLR #0xBF8860C4 sw t1, 0 (t2) # Установить значение 1 на ножке RD10 - установить бит LATD[10] в 1 - отправить 0x400 в LATDSET li t1, 1 << 10 la t2, LATDSET #0xBF8860E8 #la t2, LATDCLR #0xBF8860E4 sw t1, 0 (t2) Link to comment Share on other sites More sharing options...
Question
Gary Armstrong
I have purchased a uC32 Chipkit (with a Pic32MX340F512H). I have a PicKit3 for development. I was provided a blink.c example which I now have running. Can anyone provide an assembly language example? I am running MPLAB X IDE.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.