Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 22:25 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PIC32 code

     Page 2 of 2    
Author Message
Bryan1

Guru

Joined: 22/02/2006
Location: Australia
Posts: 1344
Posted: 01:29am 21 Jun 2013
Copy link to clipboard 
Print this post

Hi Mobi,
A couple of weeks after reading that E-book I went up to my shed to first find where I left my pickit3 in what box then found the chipkit and thought well whynot start learning "C". While going thru my backup dvd's to find those E-books I came across the folder where I did all the 8 bit basic projects in Oshonsoft basic and most of my past pcb designs.

Now I have changed careers some weeks I'm flatout and others I have time(great being self employed). Now this forum in the programming forum is great resource for learning C with plenty of threads and a new moderator who is a great guy for helping guys in C. He did write Nigel Goodwins ASM tutorials in C too.

As far as paper backed books go just go look at the prices sillychip charge for them and I do have most of them as E-books and personally I'm glad I didn't spent hard earned cash buying them. Also with 2 young girls here paper backed books don't seem to have a long life....

Cheers Bryan
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 01:50am 21 Jun 2013
Copy link to clipboard 
Print this post

  MOBI said  How many of the members of TBS write C progs for PIC32?


Me :)

(And Geoff, of course!)

If you want a fairly easy way in, try the Pinguino project www.pinguino.cc
The Olimex PIC32-Pinguino boards are cheap and work well. Arduino-like pinouts etc, not that I care for the actual Arduino LOL
You just download & test over USB, don't actually need a PICkit3

JohnEdited by JohnS 2013-06-22
 
MOBI
Guru

Joined: 02/12/2012
Location: Australia
Posts: 819
Posted: 12:48pm 21 Jun 2013
Copy link to clipboard 
Print this post

  Quote  
You just download & test over USB, don't actually need a PICkit3


Can the boot loader as used in MM be used to download compiled hex firmware as created by MPLAB?

I can't imagine why not unless it was purpose built.
David M.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 08:07pm 21 Jun 2013
Copy link to clipboard 
Print this post

I don't know, but the ones used by Pinguinos can.

When reset the bootloader looks at a button. If not pressed it jumps to the user's program, otherwise enters boot download mode - waits for packets over USB. There's a host program for the PC that sends appropriate packets such as to download a new user program. Available for Linux & Windows. (This is like many embedded boards do via a COM port.)

You can write the program for the Pinguino in an IDE or any editor you like. I do the latter, then compile in IDE & download through it. There are APIs for the program that send data up to the PC over USB so debugging is easy. If you get desperate I suppose a PICkit would be handy so you could single step etc but I've not needed it.

JohnEdited by JohnS 2013-06-23
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 08:10pm 21 Jun 2013
Copy link to clipboard 
Print this post

There is an interesting small kit from microchip I
am trying. It has a battery-powered PIC32 with
pickit2/3 connector and eight sensor inputs, three output leds,
complete with a small wifi module. It was about $45
in the old dollar ... It has example TCP/IP stack
preinstalled and broadcasts a simple web page with the sensor
values/leds updated on the trot.
It looks as though the wifi module can be temporarily
stopped/disconnected easily enough. The TCP/IP stack takes a lot
of space I think.
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 01:09am 22 Jun 2013
Copy link to clipboard 
Print this post

If you want to use wifi there is a solution that can be made using a small wifi module and a companion chip that takes care of the tcp/ip stack.
It frees up the mcu from a lot of work and driver code.
You can use that combination through a simple serial connection. Just a TX and RX is needed. You also get some GPIO on the chip for general use.
Here are the datasheets:
MRF24WB0MA Wifi module
MCW1001A Companion chip

These are the items that are in the upcoming Wi-Fi blox, i like to add I2C as an interface. I don't have those items in stock yet as i first want to make sure it all works good.


Microblocks. Build with logic.
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 08:49pm 22 Jun 2013
Copy link to clipboard 
Print this post

I have to admit, wifi is in the distant future
for me at this stage, so I'm just using it as an
interim platform. The blox are probably going to
supersede it before I get there !
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024