Jump to content
Sign in to follow this  
rlang

Boostc18/ide Problem

Recommended Posts

Bug description:

IDE does not update led block Compiler Version 1.7 Alpha (for PIC18 architecture)

 

Steps to reproduce:

1.) Create a new project for 18F4550

2.) Add a main.c file to the project with the following code

 

#include <system.h>

void main()

{

trisb = 0; //configure port B

portb = 0;

while( 1 ) {

portb++;}

 

 

3.) Compile and link the project using BoostC Compiler Version 1.7 Alpha (for PIC18 architecture) (fix pic18f4550.tdf eeadrh entry)

 

4.) Single step through execution

 

Expected behavior:

LED bar should update

 

Is the problem 100% reproducible:

Yes

 

SourceBoost version: 5.7

Compiler: BoostC

Compiler version: Compiler Version 1.7 Alpha (for PIC18 architecture)

OS: Windows 98

Comments:

None

Share this post


Link to post
Share on other sites

rlang,

 

The PIC18 simulator is currently only an instruction core simulator at the moment, so hardware like i/o ports and timers etc will not work :(

 

Regards

Dave

Share this post


Link to post
Share on other sites
rlang,

 

The PIC18 simulator is currently only an instruction core simulator at the moment, so hardware like i/o ports and timers etc will not work :(

 

Regards

Dave

 

Dave...

I gathered that about the timer because there was a note in interrupt.c but I did not read anything else into the note. Thanks for the additional information.

 

The address of Portb has changed with the 18 series and I thought that might have confused the simulator.

Rob

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...