300x250 AD TOP

Friday, October 14, 2022

Tagged under:

Install Chrome OS/ MPLAB X/ XPRESS IDE in your old laptop


Prerequisite: 

  • Any old laptop/ desktop with minimum 4GB RAM with 128GB Hard disk
  • Any working windows machine for making USB bootable image (UEFI Support)
  • 8 or 16 GB Pen drive (To create bootable image)

Files Required:

Create a folder chromeOS in your computer and download the files below.

Note: (Chrome OS - Select latest build (Download only RAMMUS version)

Step 1 (Create Bootable Pen Drive):

  • Insert pen drive 
  • Open Rufus and select linux mint iso file to crate bootable image (refer below video)

Step 2 (Unzip Bruch):

  • Unzip the bruch and rename it as chromeOS (refer below video)

Step 2 (Unzip ChromeOS):

  • Unzip the downloaded chromeOS file
  • Rename the file as rammus.bin and move the bin file to the above chromeOS folder (refer below video)

Step 3 (Save Command.txt for reference):

  • Create text file and copy the below commands and move it to chromeOS folder this will be executed later

sudo apt-get update
sudo apt-get install pv
sudo apt-get install cgpt
sudo bash chromeos-install.sh -src rammus.bin -dst /dev/sda

Step 4 (Move chromeOS folder to pendrive):

  • Copy the chromeOS folder to pendrive (refer below video)

Step 5 (Booting Linux to install Chrome):

  • Select pen drive from your computer boot menu
  • Once the linux mint is up (Connect to WIFI or Ethernet)
  • Go to terminal and change directory to your chromeOS folder /cdrom/chromeOS$
  • Run the above commands one by one
  • Exit and shutdown the linux once all the commands are executed
  • Now Disconnect USB and restart your PC
  • Chrome OS is now ready to use (login with your google account)

Step 6 (Enable Linux Developer Mode in Chrome OS):

  • Go to Setting by pressing window/ control key
  • Select Advanced >> Developers >> Enable Linux Developer Environment
  • Note: Please ensure to enable CPU Virtualization from your BIOS
  • Enable Linux file sharing from MyFiles explorer (To access files from linux terminal)
  • Go to penguin terminal ($ cd /mnt/chromeos/MyFiles/Downloads)

Step 7 (Installing MPLAB X):

  • Execute this command before running the installer ($sudo xhost +si:localuser:root)
  • Download linux version of MPLAB X IDE Here
  • Unzip the file and provide execute permission ($sudo chmod +777 MPLABxxx.sh)
  • Run the installer - follow the onscreen instructions  ($sudo sh ./MPLAxxxx.sh)
  • Once the installation completes, IDE/ IPE will get launched

Note:  For 64bit machines, you may need to run the below commands to connect any tools.

  • sudo apt-get update
  • sudo dpkg --add-architecture i386
  • sudo apt-get install libc6:i386 libx11-6:i386 libext6:i386 libxext6:i386 libstdc++6:i386 libexpat1:i386

FYI: libX11 ---> libx11 (lower case "x")



  • MPLAB X installed successfully in Chrome OS in old 4GB lenovo's laptop 
  • When you connect any tool e.g. PICKIT4 just select connect to Linux from notification bar.

Using MPLAB XPress Cloud IDE in ChromeOS with PICKIT4:

  • Open https://www.mplab-xpresside.microchip.com/
  • Execute this command before running Bridge App ($sudo xhost +si:localuser:root)
  • Download bridge app from project properties - (Refer Xpress help)
  • Provide execute permission to java (./jre/bin/java) 
  • Edit run.sh Line No: 4 with (-DJava.awt.headless=true)
    e.g. .\jre\bin\java.exe -jar -DJava.awt.headless=true xpress-bridge-app-v3.50.jar
  • Now change directory to brideapp folder and run the bridge app $sudo sh ./run.sh
  • Done Xpress is ready to use PICKIT4
  • Debug your project - Done




  • Credits: Technical Support  (Video)

     

     


    0 comments:

    Post a Comment