Show Posts
Pages: 1 ... 72 73 [74] 75 76 ... 122
1096  Community / Products and Services / Re: Highly Anticipated 32-bit "Due" due When? on: October 23, 2012, 06:29:43 pm
More expensive now, must be the currency conversion. I noticed they have a 6 week factory lead time.
1097  Products / Arduino Due / Re: Arduino Due Mini/Nano on: October 23, 2012, 06:24:01 pm
The provided bootloaders are for UART and USB, maybe a few others. They are stored on a small rom with some IAP routines so I don't reckon they have been replaced ( UART is serial comms )
1098  Products / Arduino Due / Re: USB fash drives and HDD on: October 23, 2012, 06:15:44 pm
Quote
What do you mean by retrofitting code, pYro_65?

'borrowing' then converting to my needs.

I've been looking at some examples of mass storage. The library provided with the due has a full CDC layer. On my day off I'll start to implement subclass 01h/50h with the newer 'Bulk-Only Transport', which would be fine with all flash drives and most external HDD cases ( no cd/dvd, floppys, tapes ).

It looks challenging, but definitely doable.
1099  Products / Arduino Due / Re: Floating Point Math? on: October 23, 2012, 10:59:13 am
The Due is 10x faster isn't it??
EDIT: Whoops yeah, got 8Mhz in my board.

The arduino UNO has no FPU so if the Due processor has one, it'll beat it hands down, EDIT: has none but there must be some fancy new way of dealing with them that the atmeaga doesn't have.

It would be able to control multiple FP external chips easily I'd imagine.
1100  Products / Arduino Due / Re: Interrupt code missing. on: October 22, 2012, 11:32:28 pm
haha, cheers
1101  Products / Arduino Due / Interrupt code missing. on: October 22, 2012, 10:40:44 pm
I'm in the middle of exploring the new core, I noticed the function attachInterrupt is short a few lines.
I realise the core is in beta, just not sure weather its known as the function isn't marked with a comment.

Code:
void attachInterrupt( uint32_t ulInterrupt, void (*pfn_UserFunc)(void), uint32_t ulMode )
{
  if ( ulInterrupt < EXTERNAL_NUM_INTERRUPTS )
  {
    g_apfn_IntFunc[ulInterrupt] = pfn_UserFunc ;

    // Configure the interrupt mode (trigger on low input, any change, rising
    // edge, or falling edge).  The mode constants were chosen to correspond
    // to the configuration bits in the hardware register, so we simply shift
    // the mode into place.

    // Enable the interrupt.

  }
}
1102  Development / Suggestions for the Arduino Project / Re: Is Arduino Due coming? on: October 22, 2012, 09:55:50 pm
Yeah, true. But are Arduino and its distributors going to face the same problem, I notice the store only has 11 left.
For something like this it'd be nice to have the authentic stuff, however a few spare clones would be handy for creating network applications, or something that could possibly damage the board.
1103  Products / Arduino Due / Re: USB fash drives and HDD on: October 22, 2012, 06:36:20 pm
It seems there is a mass storage bootloader, so there might be code we can retrofit for general read/write operations.
1104  Products / Arduino Due / Re: USB fash drives and HDD on: October 22, 2012, 06:15:49 pm
yeah, I think it would be a serial communication. kind of like talking to LCD's, clocking out 16 or some bit data essentially formatted by the LCD/flash device specifications.

EDIT: this seems interesting http://en.wikipedia.org/wiki/USB_mass-storage_device_class
1105  Using Arduino / Programming Questions / Re: passing a char array on: October 22, 2012, 05:16:16 pm
Quote
If you are going to specify a length, why are you not specifying the same number of initializers?

I'm not sure of the original posters intention, but its worth pointing out, an initialiser is perfectly fine with fewer elements than allocated to the array.
Consider this:

A large array created globally, say of type int and 100 elements, the implementation specifies that global memory is zero initialised unless explicitly set. By initialising only the needed elements you can shorten the globals section which copies/creates initial values into global variables. This runs as your code starts, effectively only containing 'x' amount of copies rather than a partially redundant 100 copies.
1106  Products / Arduino Due / Re: EEPROM on: October 22, 2012, 04:34:38 pm
Quote
- To modify a single byte of flash memory you are forced to rewrite an entire "page", (that is 256 bytes).
- Before writing a "page" of flash memory you need to erase it, so you should read temporary in RAM the old flash content, start erase, apply the changes in ram and finally write the updated page.

Hmm, one thing I'm considering for a project is a kind of pseudo virtual memory manager so I can safely use dynamic memory with only one allocation at app start. This 'IAP' could be some memory shortage fail safe when used for paging.

Can probably be used as a resource repository / registry. So many cool things I want to try.
1107  Products / Arduino Due / Re: USB fash drives and HDD on: October 22, 2012, 04:25:39 pm
The USB port is a host device. It should be able to connect to anything with appropriate software.
This is something that will be used extensively if available, I'd imagine you could emulate any address length you want.
1108  Using Arduino / Programming Questions / Re: Problem shifting bitwise Output on: October 22, 2012, 03:35:22 pm
Have you checked weather the shift library shifts the MSB first or LSB? The pin order may be reversed.
1109  Products / Arduino Due / Re: No ethernet wiring on: October 22, 2012, 03:29:51 pm
Yeah that's a shame, for all terminated pins it would have been nice to have a header underneath the board ( so out of the way I guess ) even if it required manual soldering of a header strip ( could then be user decision above or below ).

I'm gonna be looking at Ethernet via USB, I think an Ethernet shield ( not new 32 bit wifi ) on the Due could be a significant bottleneck.
1110  Development / Other Software Development / Re: BitBool Class ( boolean array ), upto 16000 elements on UNO. on: October 22, 2012, 03:02:38 pm
Hmmm, I'm not sure, I'll have to do some investigation on making it compatible, but as it stands I don't think it would work, needs a way to retrieve the data.

You have given me some more ideas anyway. I also have a class for dealing with PROGMEM types which may be better for this type of thing.
Pages: 1 ... 72 73 [74] 75 76 ... 122