New answers tagged


Looks like you've got 120 16-bit memory registers. That's 240 bytes. The remaining 16 bytes are control registers at addresses 0x00 -> 0x0F, and you've got a map of those in your question.


Their terminology is sloppy IMO. In any case: 0x00 - 0x0F are specialized registers 0x10 - 0xFF are memory registers (SRAM) There are only 240 bytes of SRAM. If you need more SRAM than this, you can add more externally via the MBUS.


The 120 * 16 is probably just 240 bytes - the 16 indicating a 16-bit wide register.


The 8061 was a Ford-specific engine control product from the 1980s so the information available is pretty sketchy. Assuming it's similar to the 8096, the first 256 bytes of the memory map are devoted to the special functions registers (first 16 bytes) and some RAM at the higher locations. Everything else is provided by external logic decoding of the address ...


I solved the problem with the help of @rohat-kılıç. It seems that some of my LED's were broken. I set the external clock frequency to high speed (HS). This is the updated code. #include <pic.h> #ifndef _XTAL_FREQ // The clock frequency is 16 Mhz #define _XTAL_FREQ 16000000 #endif __CONFIG (FOSC_HS & WDTE_OFF & LVP_OFF & CPD_OFF & ...


There are a few things that may be the cause of instability in your PICkit4. The code you posted could be a lot better so here is a custom crafted PIC16F886 assembly language example for you: ; ; File: main.S ; Target: PIC16f886 ; Author: dan1138 ; Date: 2020-09-29 ; Compiler: pic-as(v2.20) ; IDE: MPLABX v5.40 ...

Top 50 recent answers are included