Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kmjackson

Pages: [1] 2 3
1
ATMELTM AT91SAM7X and AVR32 / Debugger looking for wrong .elf file
« on: June 16, 2012, 05:15:11 PM »
Mark,

I'm using Studio 5.1 with a Makefile and everything builds OK.  It creates uTaskerV1.4.elf.

Here the problem:
When I try to debug, the debugger is looking uTaskerV1.elf.  I can't find where the project is calling uTaskerV1.elf instead of uTaskerV1.4.elf.  Have you seen this?


Thanks,
Kenneth

2
ATMELTM AT91SAM7X and AVR32 / Re: Building AVR Studio 5 Project
« on: May 09, 2012, 10:39:21 PM »
Ok, problem fixed.  I'm using Studio 5.1 and I needed to change the paths for make.exe and the AVRToolchain as followed:

SET PATH=%PATH%;C:/Program Files/Atmel/AVR Studio 5.1/extensions/Atmel/AVRGCC/3.3.1.27/AVRToolchain/bin
SET PATH=%PATH%;../../../tools
SET PATH=%PATH%;C:/Program Files\Atmel/AVR Studio 5.1/make
make -f make_uTaskerV1.4_GNU_AVR32 all

3
ATMELTM AT91SAM7X and AVR32 / Building AVR Studio 5 Project
« on: May 09, 2012, 07:55:38 AM »
Hi MArk,

I'm trying to build the Studio 5 uTasker project.  Unfortunately, I'm getting the following error.  I believe it can't find uTaskerBootLoader.o.  I simply downloaded, enter password and tried to build it.  The project is still using the makefile that came with the project.  Any Ideas?

Thanks,
Kenneth

------ Build started: Project: uTaskerV1.4, Configuration: uTaskerBoot AVR ------
Build started.
Project "uTaskerV1.4.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files\Atmel\AVR Studio 5.1\Vs\Compiler.targets" from project "C:\Documents and Settings\kmjackson\Desktop\uTaskerV1.4_AVR32-5\uTaskerV1.4.cproj" (target "Build" depends on it):
   Using "RunCompilerTask" task from assembly "C:\Program Files\Atmel\AVR Studio 5.1\Vs\Compiler.Task.dll".
   Task "RunCompilerTask"
      C:\Program Files\Atmel\AVR Studio 5.1\make\make.exe -C "C:\Documents and Settings\kmjackson\Desktop\uTaskerV1.4_AVR32-5\Applications\uTaskerBoot\GNU_AVR32" -f "make_uTaskerV1.4_GNU_AVR32" all
      make: Entering directory `C:/Documents and Settings/kmjackson/Desktop/uTaskerV1.4_AVR32-5/Applications/uTaskerBoot/GNU_AVR32'
      avr32-gcc -march=ucr2 -mpart=uc3a0512 -Wall -Wstrict-prototypes -I../../uTaskerBoot -D _GNU -D _HW_AVR32 -g -c -Os ../uTaskerBootLoader.c -o Build/uTaskerBootLoader.o
      process_begin: CreateProcess(NULL, avr32-gcc -march=ucr2 -mpart=uc3a0512 -Wall -Wstrict-prototypes -I../../uTaskerBoot -D _GNU -D _HW_AVR32 -g -c -Os ../uTaskerBootLoader.c -o Build/uTaskerBootLoader.o, ...) failed.
      make (e=2): The system cannot find the file specified.
      make: *** [Build/uTaskerBootLoader.o] Error 2
      make: Leaving directory `C:/Documents and Settings/kmjackson/Desktop/uTaskerV1.4_AVR32-5/Applications/uTaskerBoot/GNU_AVR32'
   Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "uTaskerV1.4.cproj" -- FAILED.
Done building project "uTaskerV1.4.cproj" -- FAILED.

Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

4
ATMELTM AT91SAM7X and AVR32 / Re: SDRAMC
« on: September 27, 2011, 02:47:31 PM »
Mark,

I'm actually using an AVR32.  It this code snippet already in the uTasker project; I can't find it.


Kenneth

5
ATMELTM AT91SAM7X and AVR32 / SDRAMC
« on: September 27, 2011, 07:14:12 AM »
Hi Mark,

Do have any code that initializes the SDRAMC and make use of it?  I want to use it for heap.


Thanks,
Kenneth

6
ATMELTM AT91SAM7X and AVR32 / Re: USB Support for AVR32
« on: June 09, 2011, 02:33:35 PM »
Thank you and where can I download the latest verison?

7
ATMELTM AT91SAM7X and AVR32 / Re: USB Support for AVR32
« on: June 09, 2011, 01:17:28 AM »
Hi Mark,

Did you ever got around to implementing the USB stack for AVR32?
              Full-speed USB Host/Device/OTG (USBB)
Thanks,
Kenneth

8
ATMELTM AT91SAM7X and AVR32 / WiFi support for EVK1105
« on: December 31, 2010, 09:28:56 AM »
Mark,

My version of uTasker doesn't support WiFi.  I just checking to see if you any thing in the works.  If not, I will probably proceed with integrating the SPB104 WiFi module into uTasker.  I'm sure I will have some questions.

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4659&source=redirect

http://www.hd-wireless.se/index.php?option=com_content&view=article&id=45&Itemid=4

Maurice

9
ATMELTM AT91SAM7X and AVR32 / Re: AT45DB642D 1056 vs. 1024 Page Size
« on: December 31, 2010, 09:07:39 AM »
What is the lastest version of AVR32 uTasker?



Regards,
Kenneth

10
ATMELTM AT91SAM7X and AVR32 / Re: AT45DB642D 1056 vs. 1024 Page Size
« on: December 31, 2010, 03:39:49 AM »
Thanks

11
ATMELTM AT91SAM7X and AVR32 / AT45DB642D 1056 vs. 1024 Page Size
« on: December 30, 2010, 05:57:15 PM »
Hi All,

If you are using the AT45DB642D with a page size of 1024 versus the 1056(standard), some code modification is needed... See posting
titled Different FileLength  

Kenneth

12
ATMELTM AT91SAM7X and AVR32 / Re: Different FileLength
« on: December 30, 2010, 05:49:34 PM »
Hi Mark,

I finally got back to this issue and the problem was with the page size.  I’m using the EVK1105 with the AT45DB642D FLASH device.  The AT45DB642D has the option to operate with two different page sizes, 1024 vs. 1056 (standard).  uTasker is configured to used the 1056 page size as it should since this is the way the board is shipped.  Sometime is the past, I changed my page size to 1024.  Once the chip has been configured for 1024, it can not be changed back.  Since I was stuck with the 1024 page size, I stepped through the code and made the following changes:

In AVR32.c
Function: extern void fnGetParsFile(unsigned char *ParLocation, unsigned char *ptrValue, MAX_FILE_LENGTH Size)

FROM:
fnSPI_command(CONTINUOUS_ARRAY_READ, (unsigned long)((unsigned long)(usPageNumber << 11) | (usPageOffset)), _EXTENDED_CS ptrValue, Size);

TO:
fnSPI_command(CONTINUOUS_ARRAY_READ, (unsigned long)((unsigned long)(usPageNumber << 10) | (usPageOffset)), _EXTENDED_CS ptrValue, Size);


Also in spi_flash_avr32_atmel.h,
Function:  static void fnSPI_command(unsigned char ucCommand, unsigned long ulPageNumberOffset, volatile unsigned char *ucData, MAX_FILE_LENGTH DataLength)

FROM:       
ucCommandBuffer[0] = (unsigned char)(ulPageNumberOffset >> 5);       
ucCommandBuffer[1] = (unsigned char)(ulPageNumberOffset << 3);

TO:
ucCommandBuffer[0] = (unsigned char)(ulPageNumberOffset >> 6);             
ucCommandBuffer[1] = (unsigned char)(ulPageNumberOffset << 2);



Kenneth

13
ATMELTM AT91SAM7X and AVR32 / Different FileLength
« on: December 13, 2010, 09:19:54 AM »
Hi Mark,

I have a problem with the uGetFileLength (...) function.  I'm using the EVK1105(AVR32) with a  AT45DB642D Flash memory device.  I'm loading a webpage with your bat file WebPagesAVR32\Copy_all.bat.  Here's my problem, when I put a breakpoint at return (Len) it shows a length = 1151, which is correct.  Now, when it is time to retrieve the file from the external flash and send it to my browser returns a file length of 1058.  Maybe, it has something to do with the 1056 Bytes per Page. When I make the webpage smaller, I don't have a problem with the external flash.  Any Ideas?  Am I missing a compilation switch? BTW, this doesn't happen when I use the internal flash.


//During the writing process
extern MAX_FILE_LENGTH uFileClose(MEMORY_RANGE_POINTER ptrFile){
 ... 
  return (Len);  // Shows 1151 Bytes
}

// Retreiving the eab pages from external Flash
// get the length of the file to be displayed
static int fnDoWebPage(CHAR *cFileName, HTTP *http_session){
 ...
   http_session->FileLength = uGetFileLength(ucFile);  // Shows 1058
}

14
ATMELTM AT91SAM7X and AVR32 / DHCP Enabled via User Interface
« on: November 02, 2010, 04:32:12 AM »
Hi Mark,

I want the option to switch from a fixed IP address to a DHCP obtained IP address and vice-versa at reset.

It is possible to disable/enable DHCP via a user interface such as a hyper-terminal? 

Kenneth

15
ATMELTM AT91SAM7X and AVR32 / Re: AVR32 bare-minimum boot loader
« on: September 25, 2010, 12:35:41 AM »
Thank you,

Kenneth

Pages: [1] 2 3