AnsweredAssumed Answered

pb size programm with sepcial edition code warrior

Question asked by Thierry Bourineau on Jan 6, 2017
Latest reply on Jan 11, 2017 by Michael Fugere

Hi

bonjour

j'ai réinstallé code warrior special edition sur mon PC.

      I have reinstalled    code warrior special edition on my PC.

en assembleur : aucun problem

     With assembler no problem all is work correctly

en C  , il compile et charge correctement le mpu au travers  de multilink universal depuis un ancien program écrit en C

     With C langage code Warrior work correctly whitout error  with an old little programme writing in C

mais quand je crée un nouveau programme en C et ou C++ , il me donne un message d'erreur

     Then when I want create a new program in C, I get this error.

"Failed to resume target process., The debugger download size has been exceeded. This limit is specified in the license file."

 

De plus, le fichier licence n'existe pas.

When I open the window about licence, no licence is show.. I think that is normal because codeWarrior sepcial edition don't use  it

le source est celui-ci:

The program I want to create is the follow:

 

#include <hidef.h> /* for EnableInterrupts macro */
#include "derivative.h" /* include peripheral declarations */
/********************************************* page zero forçage */
#pragma DATA_SEG __SHORT_SEG MY_ZEROPAGE
#pragma DATA_SEG DEFAULT
void main(void)
{
  EnableInterrupts;
  SOPT1_COPE = 0;
  SOPT1_RSTPE = 0;
  PTADD = 0xff;
  PTAD = 255;
 
  for(;;)
  {
      PTAD = 255;
  }
}

 

Merci pour  votre aide

Outcomes