Post Created date
again CRC, I don't get it
Loop 1: Value = 0x1000, So shift left, Value = 0x2000 Loop 2: Value = 0x2000, So shift left, Value = 0x4000 Loop 3: Value = 0x4000, So Shift left, Value = 0x8000 Loop 4: Value =...
Thursday, 29 March 2012 - 13:21
USB Mass Storage, Data Flow Question
Do I need the STALL the In-Endpoint after sending the data (before sending the CSW)?
Monday, 18 April 2011 - 09:30
USB Mass Storage, Data Flow Question
Sending first the CSW and then the "inquiry" data, still doesn't work. I have looked at the ATMEL code (AVR273) and docs, but still I can't get it working. Don't know what I am...
Monday, 18 April 2011 - 08:51
How to force a inline function
But this code is also called from other c-files, so can't declare is as static??
Thursday, 29 July 2010 - 09:49
How to force a inline function
I hear you but my macro/function is "really short", here it is: #define Tasks__Enter_Critical_Section() {\ {\ DISABLE_GLOBAL_INTERRUPTS();\ GPIOR0++;\...
Thursday, 29 July 2010 - 09:31
How to force a inline function
Ok, thanks, will do the macro thing JP
Thursday, 29 July 2010 - 06:55
How to force a inline function
Here are my compiler options taken out of the makefile: #---------------- Compiler Options ---------------- # -g*: generate debugging information # -O*:...
Wednesday, 28 July 2010 - 11:47
How to force a inline function
I can see in the listing file that a call is made to the function , here is a part of the listing file: /* DE-ASSERT THE CS SIGNAL */ SET_BIT(PORTD,IO__PD6_nMEM_CS); 6fe4:...
Wednesday, 28 July 2010 - 11:30
Signature bytes of 1281
Found the problem, should have read address 0,2,4 not 0,1,2 Thanks anyway
Thursday, 1 July 2010 - 12:17
Unused functions and variables
Thanks for your help guys, at least avr-gcc takes out the unused functions which is a great help!
Wednesday, 30 June 2010 - 06:35
Unused functions and variables
Thanks, I have tried it and it works (unused functions not in executable file). But still is there a way that the linker can tell me , that this-and-that function is not used?
Tuesday, 29 June 2010 - 14:18
Generating Pre-Compiler Error
My sizeof is for a structure. So I guess I have to remove the sizeof in put in manually the size in bytes. Only future problem is that if I change the structured I will forget to...
Friday, 11 June 2010 - 06:37