EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Replies /  Hi,I think MPLAB is a nice

 Hi,I think MPLAB is a nice

|

Microcontroller › PIC › Can I retarget 8051 MCU code to PIC18F or PIC16F series? ›  Hi,I think MPLAB is a nice

August 19, 2012 at 6:14 pm #8483
AJISH ALFRED
Participant

 

Hi,

I think MPLAB is a nice IDE for PIC. Regarding retargeting, I don’t think its such an easy task. The logical part will work on any controller, but when you refer a particular peripheral like timer, uart etc. there will be lot of issues.

If you are using only GPIO pins, then change their reference words as same as those declared in the PIC’s header file, and it may work. Replace the code for initial settings like clock settings etc. with normal PIC’s code itself.

RSS feed: Recent Posts Recent Posts

  • Request for a 5W transistor controlled LED flash light controller circuit review October 10, 2026
  • Delco alternator (12SI) AC-tap - what is the mate to this connector called and where to find it? October 10, 2026
  • Frustration, single phase, high KW, high voltage battery charge module, rectifier. October 10, 2026
  • On off switch hack October 10, 2026
  • Almost Very New in PCB / KICAD DESIGN October 9, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 Arrowfly LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Arrowfly
Privacy Policy | Advertising

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise