Skip to content

Instantly share code, notes, and snippets.

@wesen
Created January 26, 2013 15:24
Show Gist options
  • Select an option

  • Save wesen/4642891 to your computer and use it in GitHub Desktop.

Select an option

Save wesen/4642891 to your computer and use it in GitHub Desktop.
16:18 <+FrankiePotCheese> Just because its running code, that's just microcode
16:18 <+manuel> but i have no way of inferring if it is microcode or not, i can't upgrade it, i can't change it
16:18 -!- darwin_ [[email protected]] has joined ##programming
16:18 <+manuel> but how do i know if it is running code? someone at arm knows, i don't
16:18 <+FrankiePotCheese> But there is a live running scheduler, io handler, etc running under there
16:18 -!- Prophet5 [[email protected]] has quit [Remote host closed the connection]
16:19 <+manuel> there are subsystems, there is a bus scheduler
16:19 <+manuel> they are documented alright
16:19 <+ahokaomaeha> ssta: I take back the how many digits thing... I have something better - let's say g(x) = sum of x's digits... how many times do you have to
apply g repeatedly to F(10^7) until you get a digit (a number from 1 to 9)
16:19 <+manuel> i don't know if they are implement in code
16:19 <+FrankiePotCheese> You can and probably have upgraded it, but I agree
16:19 -!- darwin_ is now known as dchmelik
16:19 <+FrankiePotCheese> At your interface it could be HW or sw and don't need to care
16:19 <+manuel> i have upgraded it? but show me how. it is a cortex-m3, specifically a stm32f103rc
16:19 <+manuel> show me how i can upgrade anything other than flashing my own firmware
16:19 <+FrankiePotCheese> I don't know that one like I said
16:20 <+manuel> i'm sure you could kind of google it though? if you think i did upgrade some sort of cpu internal microcode
16:20 <+FrankiePotCheese> But there is a good chance you can on that one, or have on other ones
16:20 -!- dchmelik is now known as darwin
16:20 <+manuel> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337i/index.html
16:20 <+ssta> ahokaomaeha: okay. That's going to need an exact answer
16:21 <+manuel> i found one article that kind of speculates if the UBFX and SBFX instructions are implemented with microcode
16:21 <+ssta> don't ven think the factors will help
16:21 <+ahokaomaeha> haha
16:21 <+manuel> there are vhdl cores for the AHB and APB buses used internally on freecores that don't use microcode so i guess ARM doesn't either
16:21 <+manuel> http://en.wikipedia.org/wiki/Advanced_Microcontroller_Bus_Architecture
16:22 <+ssta> ahokaomaeha: if you're really that bored....there's always masturbation :P
16:22 <+ahokaomaeha> ssta: lmao
16:22 <+manuel> the stack handling on the cortex-m3 seems to be done in microcode too, and i'm sure the code for that is not held in writeable memory
16:23 <+manuel> i could imagine and then i would agree with you that there is maybe a way to update the debug system of the whole thing, but i would like to see that
:)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment