title: Bare metal programming on beaglebone black
body: <p>I have got a beaglebone black and I want to start working on a project from scratch. I have setup the flyswatter2 for debugging and flashing purposes. </p>
  
  <p>I can have a startupcode which ideally should work. but the problem is that I dont know from what memory address the begalebone black starts booting? and what memory address I should flash my code to inside the board's memory?</p>
  
  <p>If I know the place from where I should flash my startup code then from there I can take it up with help of debugger and programming a UART for progress of my code. But I am stuck at the very first step. </p>
  
  <p>Please note that I have read the chaper 26 of technical reference manual for AM335x from ARM and it talks about public RAM and ROM at certain addresses. But I am still unsure about from where to start.</p>
  
  <p>If someone could just let me know that flashing my code at address 0xXXXXXXX will execute my code at startup then I can take it from there.</p>
  
  <p>Thanks in advance
  -Ravi  </p>