Jump to content
NickSmith

Error with PIC18F25K40

Recommended Posts

There is a bug in the PIC18F25K40.tdf file.

As installed it reads

Configure AccessBank
{
    SplitAddr = 0FFh;
}

but should be

Configure AccessBank
{
    SplitAddr = 05Fh;
}

It means that indexing of arrays and routines like delay_ms, sprintf  do not work and the processor hangs

Share this post


Link to post
Share on other sites

Well spotted. This error affects several other recently added targets as well. The fix you provided is correct too. Affected files:

 

PIC18F24K40.TDF
PIC18F25K40.TDF
PIC18F26K40.TDF
PIC18F27K40.TDF
PIC18F45K40.TDF
PIC18F46K40.TDF
PIC18F47K40.TDF
PIC18F65K40.TDF
PIC18F66K40.TDF
PIC18F67K40.TDF
PIC18LF24K40.TDF
PIC18LF25K40.TDF
PIC18LF26K40.TDF
PIC18LF27K40.TDF
PIC18LF45K40.TDF
PIC18LF46K40.TDF
PIC18LF47K40.TDF
PIC18LF65K40.TDF
PIC18LF66K40.TDF
PIC18LF67K40.TDF

 

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum 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...

×