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 Recent Posts

  • Electronic board faulty?!? May 12, 2025
  • Is there a Power Bank that can also be charged with electricity? May 12, 2025
  • applying solder paste from a jar May 11, 2025
  • Did a Buyer Kill My Amp? May 11, 2025
  • An Update On Tarrifs May 11, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media 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 WTWH Media
Privacy Policy | Advertising | About Us

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