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 - ewan

Pages: 1 2 [3]
31
FreescaleTM MC9S12NE64 / Re: No memory from 0x8000 to 0xbfff
« on: October 16, 2008, 10:18:04 PM »
I found this on the Freescale forum and it works. What a mess, though.

Regards,  Ewan.

http://forums.freescale.com/freescale/board/message?board.id=CW816COMM&thread.id=4146

Here's the solution given to me by Freescale:
 
"... The previous solution I mentioned was not useful as there was no possibility to debug the code. So finally the one possible solution is just include the PAGE_3C segment into your default placements :

PLACEMENT
_PRESTART, STARTUP,
ROM_VAR, STRINGS,
VIRTUAL_TABLE_SEGMENT,
DEFAULT_ROM , NON_BANKED,
COPY INTO ROM_C000,
ROM_4000,PAGE_3C;

(please notice the order of segments!)

And to ensure the correct PPAGE register settings you have to modify Start12c file (_Startup function)
___INITRM = 0x39; /* lock Ram to end at 0x3FFF */

/* new line to set the correct PPAGE register value */ *(unsigned char *)0x30 = 0x3C;

#ifdef _HCS12_SERIALMON

/* for Monitor based software remap the RAM & EEPROM to adhere
to EB386. Edit RAM and EEPROM sections in PRM file to match these. */

___INITRG = 0x00; /* lock registers block to 0x0000 */
___INITRM = 0x39; /* lock Ram to end at 0x3FFF */
___INITEE = 0x09; /* lock EEPROM block to end at 0x0fff */ #endif "

Hope this helps,

Anders.

32
FreescaleTM MC9S12NE64 / Re: No memory from 0x8000 to 0xbfff
« on: October 16, 2008, 09:39:34 PM »
I am using V 5.5.1272. I made sure it was compiling for small and linking for small and using the small library, but still no luck. I will try the Freescale forum.

Many thanks.

33
FreescaleTM MC9S12NE64 / No memory from 0x8000 to 0xbfff
« on: October 16, 2008, 07:12:30 PM »
I cannot seem to get the linker to understand that there really is memory at 0x8000. I have tried both small and banked models. If I use the "Processor Expert" in the Metrowerks Code Warrior, it will not allow it either. The .PRM file seems to have the correct entries. This has to be something really easy but i'll be darned if I can see it.

Thanks.

34
FreescaleTM MC9S12NE64 / Re: First go at a compilation
« on: October 12, 2008, 10:54:02 PM »
I had to do :-

#ifndef _HW_NE64
    #ifdef SUPPORT_HTTP_POST
        #if FILE_SYSTEM_SIZE >= (160*1024)         
            static const CHAR cWarningHTML[]       = C;
            static const CHAR cSuccessSW_HTML[]    = SW_UPLOAD_COMPLETED;
        #endif
    #endif
#endif

I suppose it is something to do with operator precedence. It compiles fine now though.
Thanks.

35
FreescaleTM MC9S12NE64 / First go at a compilation
« on: October 12, 2008, 09:58:54 PM »
I downloaded the NE64 files then overwrote them with SP1. When I compile using CodeWarrior I get an error in "webinterface.c" which complains at line 56 "UPLOAD_FAILED not declared". If I comment this out it goes on to more errors. Upon searching for this definition I find it is in files for the MCF52233, specifically in "app_hw_m5223x.h", but nowhere to do with the NE64.

What am I doing wrong?

Thanks.

36
Mark,

Perfect!

Thanks once again,

Ewan.

37
µTasker general / Server has fixed IP and MAC address. Do I need ARP?
« on: March 07, 2008, 08:47:06 PM »
I have about 500 clients on a network with one server. The server's MAC address and IP address are  fixed and known. Is there a way to have this information permanently in the ARP cache or otherwise avoid the ARP messages? The clients never talk to each other.

Thanks,

Ewan.

38
µTasker general / Re: SPI in the simulator
« on: March 07, 2008, 07:56:16 PM »
Mark,

I got it all to work. There is a lot of documentation.

Thanks,

Ewan.

39
µTasker general / SPI in the simulator
« on: March 07, 2008, 02:15:53 AM »
I am using the M52233DEMO board configuration in VS 6.0 and was trying to simulate an SPI chip. I have the latest download with SP6 installed including renaming the "config_ref_m5223X_sp6.h" file to "config.h".

I used the "Configuration example" in the "uFileSystem in SPI FLASH" application note. The symptom is that while I get the correct 1MByte file with some stuff in it, it is incorrect. For example I have 10 files named E.htm to N.htm with sizes from 32KBytes to 138KBytes for a total of 621KBytes. Using IE v6.0.2800 I contact the device using ftp. I then drag and drop the files to the ftp window. All seems well. The IE window shows all the files. When I press "F5" to refresh, however, there are typically only two files there. Upon inspection, the AT45DBXXX.ini file is mostly populated with 0xff bytes.

Any clues?

Thanks,

Ewan.

40
Richard,

Thanks for a good link.

Regards,

Ewan.

41
Fabio,

Am I correct that all you need are VCC3.3, GND, TMS, TRST*, TDO, TCLK, TDI? or do I need RSTI* too.

Thanks,

Ewan.

42
µTasker general / Re: How are concurrent task starts handled?
« on: March 01, 2008, 07:48:19 PM »
Well, I have read some more. Is it true that the Tasker runs all the tasks in "round-robin" fashion except those which delay themselves or which are waiting for an event?

Regards,

Ewan.

43
µTasker general / How are concurrent task starts handled?
« on: March 01, 2008, 07:30:27 PM »
If there are three tasks and one is running, and the other two tasks are scheduled (using o.s. timers) to start before the first is complete, which task starts next, and when?

What happens during "idle" time?

I have looked at the literature and the various posts and still have trouble visualizing the scheduler process. I do understand one-shot timers.

Thanks,

Ewan.

Pages: 1 2 [3]