On 2012-03-25, peenukimaa <aimen_rashid@n_o_s_p_a_m.hotmail.com> wrote:
>>I think the OP may mean that they want to read out the existing data
>>on the device and that it presents itself as a mass storage device
>>when data extraction is required.
>>
> This is exactly what we plan to do. We want to read the data stored in that
> sugar meter.
>
>>Depends on the PIC range. The PIC32MX has OTG capability in some of it's
>>devices, although if you want to do anything serious (with any
> significant
>>memory requirements for example), I still think that will not be viable.
>>
> PIC24FJ256GB004 has OTG capability.
>
I see in your other response you have chosen another PIC24.
Once you have read the data from the device, what do you intend to do
with it ?
In other words, are you going to have, for example, enough RAM present in
your chosen PIC24 device to be able to process your data once you have
read it from the device ?
What are you going to use for the USB host stack ? Are you allowed to
use the Microchip example stack, or do you have to write your own basic
stack as part of your project ?
>>If the chip has to have Microchip written on it, I wonder if the OP
>>will find more headroom with a PIC32MX ?
>
> what Development tool would you suggest Sir ? Please reply me and thanks
> for the previous reply.
>
I will let others here make some PIC32MX toolkit suggestions; I only came
across this device a couple of months ago, and while evaluating it is on
my todo list, I have not done anything with it yet.
[The initial approach I intend to take with the PIC32MX is to use a
recent mainstream FSF gcc toolchain (not the Microchip supplied version),
write my own headers/startup code and use the AVR based programmer I
built to program PIC18F MCUs, but with software enhancements to support
the PIC32MX.
I doubt this type of approach would be suitable for you and would suggest
you look at existing PIC32MX toolkit options if you find the PIC24
to not be suitable, but do find the PIC32MX to be suitable.]
To get you started however, Olimex make PIC32MX boards, so you may want
to ask on the Sparkfun forums what development environments people are
using with those boards.
Simon.
--
Simon Clubley,
clubley@remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world