USB Memory with PIC32MX

Moderator: Benj

Post Reply
User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

USB Memory with PIC32MX

Post by celebriums »

Dear Flowcode Family
Dear Ben J.

I want to save data to the Flash Memory via USB with the PIC32MX processor at regular intervals.
How do I use Flash memory via USB?
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: USB Memory with PIC32MX

Post by Benj »

Hi Sadik,

Just to be clear are you wanting to write to the internal flash on the PIC32 device or to a USB memory stick?

We don't currently support these via components but as a bit of an investigation I can certainly try to help with implementing either.

User avatar
celebriums
Posts: 125
Joined: Sun Sep 25, 2016 3:50 pm
Has thanked: 71 times
Been thanked: 33 times
Contact:

Re: USB Memory with PIC32MX

Post by celebriums »

Thank you
Firstly, I think of using a USB Memory Stick. The PIC32MX says it supports up to 4GB.



I have three goals in this project. Available USB components,
it only has USB HID, Serial, MIDI and Slave features.


1. Purpose,

Write and read data directly using D + and D- pins.

Keep the events that the device experiences on a * .TXT file.
Set the initial values by reading the setup values of the device from the * .TXT file. For example; WIFI password,

2. Purpose
* Read data from .jpeg file and transfer it to TFT screen.

3. Purpose
Install the software into the PIC32MX with a bootloader.


Another method is; Using internal memory.

For Example:
https://datasheet.octopart.com/mx25l128 ... 526005.pdf

If I'm going to use internal memory, I'd rather work with a 128Mb.
Sincerely Regards
Sadık SUME

www.kaandesign.com.tr

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: USB Memory with PIC32MX

Post by Benj »

Hello Sadik,
The PIC32MX says it supports up to 4GB.
I believe FAT16 supports up to 4GB and FAT32 will support up to 64GB. I'll investigate internal and USB storage support.

Post Reply