AnsweredAssumed Answered

CodeWarrior USB TAP speed (and __pmem)

Question asked by miroslavmartisek on Oct 17, 2013
Latest reply on Oct 18, 2013 by Ben

Hello everybody,

 

I have got two question: firstly I haverecently  bought CW USB TAP to program and debug some DSCs, mainly 56F8037, but it seems the speed of this device is rather small. Before I began to use USB TAP, I had worked with "normal" LPT programmer and I can say it was much faster than USB TAP. Could somebody give me an advice how to improve its speed? I use CW 8.3 and Win 7. Thank's a lot.

 

And secondly I have got  a problem with constants which are located in program memory. I use prefix __pmem:

 

Example:

__pmem char Font6x8[] =

{

     0x00, 0x08, ................................................

};

 

__pmem char Font7x8[] =

{

     0x12, 0x15,................................................

};

 

and the pointer:

 

__pmem char *FontPtr[] = {Font6x8, Font7x8};

 

The problem is I cannot access some constant I wish via pointer:

 

temp = *(FontPtr[1] + 2);

 

In variable temp is still value of 0xFF.

 

If I use 56F8037 it works fine, but with 56F8367 in kit 56F8367EVME not. I am angry with it :-).

 

Have a nice day.

 

Mimar

Outcomes