Second Samuel chapter 15 beginning at verse 24. There was Zadok also and all the Levites with him bearing the Ark of the Covenant of God and they set down the Ark of God and Abbiathar went up until all the people had finished crossing over from the city. Then the king said to Zadok carry the Ark of God back into the city. If I find favor in the eyes of the Lord he will bring me back and show me both it and his dwelling place but if he says thus I have no delight in you here I am let him do to me as seems good to him. The king also said to Zadok the priest are you not a seer? Return to the city in peace and your two sons with you. Ahimahaz your son and Jonathan the son of Abbiathar. See I will wait in the plains of the wilderness until word comes from you to inform me. Therefore Zadok and Abbiathar carried the Ark of God back to Jerusalem and they remained there. So David went up by the ascent of the Mount of Olives and wept as he went up and he had his head covered and went barefoot and all the people who were with him covered their heads and went up weeping as they went up. Then someone told David saying Ahithophel is among the conspirators with Absalom and David said oh Lord I pray turn the council of Ahithophel into foolishness. Now for those of you who may be visiting us for the first time today you need to know that what we do here is we go through the Bible verse by verse and we're now in 2 Samuel we spent time going through 1 Samuel we arrived into 2 Samuel and we've been following this particular book chapter by chapter verse by verse until we've arrived at this place here. What I try to do is I try to give the full council of God and the way to give the full council of God is to give a Bible study through the word of God and that's what we've done and that's what we've been doing now for 28 years. We've been going through the word of God together as a church trying to be built up in our faith in the things of the Lord receiving information and instruction from his word and so here we are in 2 Samuel in chapter 15. At this time as we arrive here in this particular passage King David has a son his son's name is Absalom. Absalom is in rebellion against his father and the Bible has said that he has stolen the hearts of the men of Israel. The news of him stealing their hearts has come to David. Now David obviously as his father knew his temperament and therefore he knew it would be wiser to abandon the city than to remain there because if he were to remain civil war would have broken out many would have died. So David has ordered the evacuation of the city of Jerusalem we see that in verse 14 of the same chapter where it says David said to all his servants who were with him at Jerusalem arise and let us flee or we shall not escape from Absalom. Make haste to depart lest he overtake us suddenly and bring disaster upon us and strike the city with the edge of the sword. Now so David has assembled at the outskirts of the city and he's now crossing what has been called the Brook Kidron and with great tears they are heading with their king into the wilderness. Now with David were Zadok the Levites or the priests as well as the high priest Abiyathar and with them they have brought what has been called the Ark of the Covenant. The Ark of the Covenant was the most holy item they have in the nation of Israel because it represents the presence of God with the people of Israel. In the Old Testament book of Exodus in chapter 29 verses 43 through 45 God said there I will meet with the children of Israel and the Tabernacle shall be sanctified by my glory. So I will consecrate the Tabernacle of meeting and the altar. I will also consecrate both Aaron and his sons to minister to me as priests. I will dwell among the children of Israel and will be their God. So Zadok and Abiyathar have brought the Ark of the Covenant because they believe that since it symbolizes the presence of God with the nation it would bring great comfort to King David. Well David knew though that the Ark itself didn't guarantee God's blessings and he also knew that the Ark could be used in a superstitious fashion and so rather than wanting that Ark to be taken with him he simply says you need to take the Ark back. In verse 25 he sends Zadok and the Ark back to Jerusalem in order to place it in the tent that he had built there that's recorded in 2 Samuel 6. David reasons in verse 25 that if God is pleased with him then he's going to bring him back to Jerusalem. But notice verse 26 how he says but if he says thus I have no delight in you here I am let him do to me as seems good to him. So he says listen if God is not pleased with me then I'm in the hands of the Lord. Now he would rather leave his life in the hands of a merciful God than in the hands of man as a matter of fact later on he says that in 2 Samuel 24.14 he says let us fall into the hand of the Lord his mercies are great do not let me fall into the hand of man. And so he knows that if he trusts the Lord God will do a good thing on his behalf and therefore he says listen if God wants to bless me he will if God is not pleased with me he'll make it plain I'm not concerned about that I'm going to trust him. The Psalmist in Psalm 63.7 says because you have been my help therefore in the shadow of your wings I will rejoice. Shadow of your wings is under your protection I know you are my help I know you will protect me I will rejoice in this and that was the mentality of David. Now as that's taken place I want you to see verse 27 the king also said to Zadok the priest are you not a seer that word seer means prophet are you not a prophet return to the city in peace and your two sons with you Amihaz your son and Jonathan the son of Abiathar I'll wait in the plains of the wilderness until word comes from you to inform me therefore Zadok and Abiathar carried the Ark of God back to Jerusalem they remained there so he's saying you're more service to me if you stay in Jerusalem and I want you to go in comfort but you need to go because you your sons and all you can send word to me if things change and and and you can basically be my eyes in the city and therefore I don't need you with me you need to go and therefore they went they remained in Jerusalem well David in verse 30 went up by the ascent of the Mount of Olives and he wept as he went up and he had his head covered and went barefoot these are signs of mourning symbols of mourning and all the people who are with him covered their heads and went up weeping as they went up so like a captive taking being taken captive as a barefooted person he's mourning and he's sorrowing but I want you to notice this those who went along with him also mourned they were grieving for their king they're grieving for his loss and they're grieving for their own exile that's the way it is when somebody loves you by the way guys when somebody loves you and cares about you then when your heart is broken theirs is too and when you're rejoicing they rejoice along with you in Romans 12 15 it says rejoice with those who rejoice and weep with those who weep I think for many people they don't understand that many people to have an understanding of what it means to follow the Lord it doesn't they don't understand what it means to be in the body of Christ they don't understand what it means to be a Christian they don't understand what it means to have true spirituality for a lot of people today you know they're they're good weather friends you know they're they're there for you at certain points in your life as long as you're doing well but when you're not doing well they abandon you in the case of David he had people who are with him and they were there weeping with him as he was weeping indeed they would rejoice when he rejoiced but they were there weeping with him as he was weeping I think for some people it's easier to weep with someone than to rejoice with him because if they see somebody being blessed receiving some finances or being able to buy a new house or a car they immediately get envious or jealous and they get upset about it and instead of saying you know God has blessed you they say why hasn't God blessed me it's easier for them to cry with somebody who's who's lost something because at least in that loss it wasn't something that that person who is next to them is experiencing on a personal personal level but what we as Christians are to do is we're to rejoice we rejoice with those who are rejoicing we weep with those who weep in in the case of David those whom he was leading see their king weeping mourning acting as a captive as he's walking barefooted and they begin to mourn alongside of him now as this is taking place verse 31 someone told David saying a hithophels among the conspirators with absalom david said oh lord I pray turn the council of a hithophel into foolishness a hithophels council was extremely valuable to any who received it we'll see this in chapter 16 in just a moment so what he's praying is this lord may any advice he gives be ignored or not be fruitful or not successfully followed lord I'm asking you to undermine his council and interestingly enough in chapter 17 verse 14 we'll see that this prayer was answered because God is going to defeat his advice and so that's what David is doing at this moment now in verse 32 it happened when David had come to the top of the mountain where he worshiped God there was who shy the archite coming to meet him with his robe torn dust on his head these are symbols of mourning david said to him if you go on with me then you'll become a burden to me but if you return to the city and say to absalom I'll be your servant oh king as I was your father's servant previously so I will now also be your servant then you may defeat the council of a hithophel for me and do you not have zidak and abhyath are the priests with you there and therefore it will be that whatever you hear from the king's house you shall tell the zidak and abhyath are the priests indeed they have they have there with them their two sons ahmaz and zidak son and jonathan abhyath our son and and by them you shall send me everything you hear so who shy david's friend went into the city and absalom came into jerusalem who shy was a friend of david very dear to him but the problem is who shy is old david is on his way out he needs to get out as fast as possible this older man this counselor this friend of his could actually be a burden to him slowing him down you know that when you are with a friend of yours of equal ability to walk or run or whatever of equal strength and you're on a task doing something you know that when you're together evenly matched basically you can get things done very quickly you don't worry about them you're not concerned over them uh needing your assistance or help needing something carried by you etc you know that but then there are times that maybe you're with somebody who needs help extra help they walk slower you need to carry their bags you're unable to really do the things that you need to do as quickly as possible they become a burden to you well david was saying who shy you'll be a burden to me we're trying to get out of here as fast as we can and and and you're not going to be able to travel at the pace that we're going and so that you're better suited to go back when you go back i already have the priest the high priest i have their sons there and uh they're going to be my eyes all you need to do is volunteer to be absalom's counselor and anything you hear you can communicate to the young man they'll bring it to me and you're going to be of more profit to me and so david gives him some advice some direction and he goes back and chooses to do so but as he goes back into the city notice verse 37 absalom came into jerusalem so absalom david's son now has a triumphal entry if you will he comes in victoriously he's now going to take his seat as the king in the city of jerusalem well in verse one of chapter 16 when david was a little past the top of the mountain there was eva the servant of mephhiboshet who met met him with a couple of saddle donkeys and on them 200 loaves of bread 100 clusters of raisins 100 summer fruits and a skin of wine and the king said to zebra what do you mean to do with these so zebra said the donkeys are for the king's household to write on the bread and summer fruit for the young men to eat and the wine for those who are faint in the wilderness to drink then the king said and where is your master's son and zebra said to the king indeed he is staying in jerusalem for he said today the house of israel will restore the kingdom to my father of my father to me so the king said to zebra here all that belongs to mephhiboshet is yours and zebra said i humbly bow before you that i may find favor in your sight my lord oh king you've seen zebra before zebra was an individual who at one time had been the household steward over the possessions of king sol on one occasion david had said is there any living relative that i might bless and mephhiboshet was brought in a young man who had been crippled since he was a little boy david took this house steward who was living like a king took the things that he was using for himself and gave him to mephhiboshet and made zebra into his servant zebra didn't like that so he's been looking for an opportunity to get back what he used to use as his own and so he lies this is a lie what he's doing is he's he's saying that mephhiboshet is actually wanting to take over the kingdom when in reality it's zebra who's who's undermining mephhiboshet now the problem that we have here is the problem of the fact that david is going to make an emotional response david responds emotionally because david doesn't have all the information listen when somebody first comes to you and says something to you and they say something about somebody else if you have a bent towards already thinking in a suspicious way towards that person that they're speaking about it's possible for you to listen to what's being said and agree with them and to respond emotionally over that to the hurt of somebody else and even if it's not true because sometimes what we do is we already are ready to receive bad news and we respond emotionally and that's what david did here no one proverbs 18 13 it says he who answers a matter before he hears it is falling shame to him and what david is doing is david is making an immediate emotional knee jerk response and as a result of that is going to take from mephhiboshet what was rightfully his it had been given to him and he's going to give it to this man a liar by the name of zeba and that's what happens when we don't think things through the way david didn't at this time and so for the moment at least mephhiboshet looks really bad well as this is all taking place verse five now when king david came to bahurim there was a man from the family of the house of sal whose name was shime shimei the son of gara coming from there he came out cursing continuously as he came and he threw stones at david and at all the servants of king david and all the people and all the mighty men were on his right hand and on his left and shimei said thus when he cursed come out come out you blood thirsty man you rogue the lord has brought upon you all the blood of the house of sal in whose place you have reigned and the lord has delivered the kingdom into the hand of absalom your son so now you are caught in your own evil because you are a blood thirsty man now bahurim is just east of the city of jerusalem and here's this distant relative of sal he's from the house of benjamin he comes out shimei curses david and he's telling david that he's not fit to live in israel and that he's a worthless killer notice in verse eight how he says the lord has brought upon you all the blood of the house of sal in other words he's blaming david he's blaming david for the deaths of abner for ishbusheth and even iraia he's saying david you stole the kingdom and you're only getting what you deserve so as he is doing this you have to imagine the king with his mighty men his counselors his generals and all these people as this guy is standing there shouting out while his men aren't going to respond well to this in verse nine abashai the son of zaria said to the king why should this dead dog curse my lord the king please let me go over and take off his head he's asking permission to chop his head off see if i can cut his head off he can't talk anymore so if you allow me to go over there and take care of some business and only take me a moment i'd appreciate it david says no you can't do that he's speaking undoubtedly not just for himself but for others because in verse 10 the king said what have i to do with you you sons of zaria so let him curse because the lord has said to him curse david who then shall say why have you done so david said to abashai and all his servants see how my son who came from my own body seeks my life how much more now may this binge might let him alone let him curse for so the lord has ordered him it may be that the lord will look on my affliction and that the lord will repay me with good for his cursing this day david i want to spend some time with you about this one here's some application for you we've been looking at the life of david since first samuel david was a warrior david had no fear of man in him david was the kind of man that caused other men to respect him david was the kind of man that even battle hardened veterans and seeing him could have an immediate respect for him because he had a warrior spirit about him we remember how that david had come when goliath the fallistine giant had been challenging the nation of israel and and how david had come with some supplies in order to defeat his his family and all and as he had come he had seen this this nine foot nine inch man come and defy challenge the the armies of israel and you remember how he came out and he said send out a man that we may fight and and every day goliath was doing that and so when david arrived how that david saw him and the first thing we see him basically saying about this is who is this uncircumcised philistine that he should defy the armies of the living god this is a man's man give me an opportunity was david give me an opportunity and i'll go take him out give me an opportunity he's the kind of guy that men like me would get behind and say you know what i like a man like you you've got a fiery spirit about you you're a warrior you've got nothing you're not afraid of anything i could follow somebody like you and that was david and when david when something was said about david or said to him or there caused some problems for those whom he loved david was quick to respond remember when his ambassador had gone to uh to comfort the son of a king who had recently died and and were treated with disrespect they had half of their beards shaved off of their faces they had their clothing half removed they were sent out in deep humiliation david's response was instant we're going to retaliate that was david he didn't take anything he didn't take nonsense from anybody and yet what do we have here we have one man following him on a hillside as david is down below yelling at him picking up rocks and throwing him at him throwing dirt into the air and calling him a bloodthirsty rogue you're a thief you deserve to die you stole the kingdom and when abbey author says just give me a moment i'll be back with his head david says no something has happened in the life of david he's broken that's what's happened in the life of david you get broken over time you get broken and it brings humility i gave a lot better studies on raising kids before i had any because people with no children can advise those who do very well what you should do and what you shouldn't do and how it wouldn't let that happen and this is what i would do yeah you don't have any kids it's easy for you to say that wait until you've got four rug rats and then you come and give me some advice but see when my kids were small i had all this oh yes we're gonna do it this way and then they grew up and i discovered some lessons that broke me and brought humility into my life about that that's just the fact that's just the truth you're so sure of certain things when you're young then you learn the hard way over time that that that that things aren't always what you thought they would be and what happens over time is you get broken and you get broken and you get broken again that's what happens as a young minister i've always had very strong opinions that's no lying who's hiding the facts from you but the bottom line is when i was a younger minister i was quick to argue i was quick to argue and make my point because i had an argumentative belligerent spirit i can remember at the age of 23 as i was starting to study on on the cults and i was sitting under a man by the name of walter martin's teaching he was teaching on sunday nights i was sitting under his ministry and had done so for for some time and and i had read his book and i was studying cults and things and i got i got at that time fairly adept at argumentation with those within the cults of the Mormons and the Jehovah's Witnesses even the unification church and and and i actually went out looking for Mormons and Jehovah's Witnesses to argue with i used to hunt them down in neighborhoods just the truth i'm not lying i'm not lying pull over the side of the road because they'd inevitably come and talk to you and then we'd go at it you know and i loved it you know i'd get that sorted out wop wop wop wop abbey athar heads would roll and off i'd drive in my Volkswagen go home you know it's the truth argue and then the lord broke me and said you may win an argument but you're losing souls where's your love where's your compassion where's your mercy where's your kindness where's the fruit of the spirit david you love to argue but you disqualify in yourself a ministry because a pugnacious man is not to hold the place of an elder and god begins to break you oh you have all your your opinions when you get married to your husband your wife is going to do this your wife's going to do that and you let her know because you're the man right and then you hurt her and she cries and you see her crying and you think why is she so upset what did i say i'm just trying to lead her when marie and i were dating i was gone for several months i was in europe backpacking i would center scriptures home that i was telling her you need to memorize these so that you can be a good witness or the things of god and i came home and i was at her apartment and i sat her down and i said okay marie what is john 316 saying she said well i know what it says but she didn't get it out and i'd say okay then what does roman 323 say what is roman 310 say what is what is roman's and i started asking her all these hebris 927 john 524 did you not memorize any of these she starts to cry and she runs out of the room and i'm looking at her like hey i'm mentoring you where are you going and she runs into the room crying and i look at her roommate and i say to her what's wrong with her she says david she tried so hard to memorize she tried so hard she said and it just may be that you can do what she can't do and she struggled so i walked into her room and she's sitting on her bed weeping and i look at her and i say what are you crying about no clue that i was rough no clue that i was mean no clue that i wasn't merciful no clue i thought i was doing the right thing i did and god broke me and god broke me and he has been breaking me forgive me he has been breaking me for years that attitude is not from me that is not from me learn to love learn to be compassionate learn to be caring learn to listen learn to love these people that comes through brokenness i promise you david who is this uncircumcised philistine is now saying perhaps god is moving him to curse me what happened david my son my son my son wants my kingdom and my son wants my life and you think i care about shimmy eye i don't what breaks me is my family what breaks me is what he's doing to me maybe god has put it into his heart to remind me of what i am maybe he has so i might loathe what i have been so that i might have the humility to be the king that he wants me to be listen the lord has a way of breaking his servants to make them usable the most valuable tool in the hand of the lord is the tool that is broken we are like clay pots the apostle paul said and we have the excellence of the lord within us but the most valuable clay pot in the hand of god is the broken one when jesus was being anointed on one occasion the woman the woman came in she had an alabaster vase filled with fragrant oil very costly judas knew that it was worth 300 days wages he even computed its value thinking about how much it was being wasted because the woman broke that the neck of that vessel and then poured out the fragrant oil on the feet of the lord jesus christ that oil that was in that in that that vase was doing nobody any good because it was not being used but the only way for that oil to be used was for the container to be broken god has given to us his excellence that resides in us it's in us the excellence of god but the only way for it to get out is for him to break you and when you're broken your attitude changes when you're broken your heart softens when you're broken you can hear the tears in the voice of people when they're speaking to you you can cry for strangers like we do for the Haitian people when you're broken and then you hear people saying things about them reaping what they and curses and god's heart weeps for people never forget that and he breaks us to do the same and so david says to his men listen god may have a word for me that i i'm not going to hear if i go off in eventual fashion i'm not going to do that now notice in verse 12 it may be that the lord will look on my affliction and the lord will repay me with good you see god is compassionate and god is merciful it's better to trust him it's like what paul later on would say in in romans in the book of romans chapter 8 verse 28 when he said we know that all things work together for good to those who love god to those who are the called according to his purpose it works together in the hand of the lord to produce christ likeness in us in 2nd carinthians chapter 4 verse 17 when paul was writing to the carinthian church he said our light affliction which is but for a moment is working for us a far more exceeding and eternal weight of glory i go through something that is small now but it's temporary because later on i'm going to reap the eternal dividends and benefits of that and that's what david's basically is is is alluding to god has got a work he wants to do and god will do what he wants in me well in verse 13 and as david and his men went along the road jimmy i went along the hillside opposite him and cursed as he went through stones at him kicked up dust he was like a mean chihuahua following him down the road anybody here ever have a little dog yapping at your heel oh man you want to just boot him through the door right you're riding your bicycle and there's this little dog there oh well that's what shimmy is like he's out there just making all this noise throwing up the dirt throwing rocks at him and david just patiently with his troops just keeps moving and the king and all the people were with them became weary so they refreshed themselves there they came to a place to rest and remain there this place is actually called it's a rest stop that is called weary or the long road would have been a place for the weary so they come to a place of rest now meanwhile verse 15 absalom and all the people the men of israel came to jerusalem and hit fell was with him so it was when who shy the archide david's friend came to absalom that who shy said to absalom long live the king long live the king so absalom said to who shy is this your loyalty to your friend why did you not go with your friend new shy said to absalom no but whom the lord and this people and all the men of israel choose his all be and with him i'll remain furthermore whom should i serve should i not serve in the presence of his son as i have served in your father's presence so while i be in your presence and so he basically flatters him see absalom wanted to to be king yet an arrogant belief that he was the king and so who shy convinces him that uh he's trustworthy and so he allows him to remain as per david's plan but then verse 20 absalom said to a hit the fell give advice as to what we should do and a hit the fell said to absalom go into your father's concubines whom he has left to keep the house and all israel will hear that you are abhorred by your father then the hands of all who are with you will be strong so they pitched a tent for absalom on top of the house absalom went in to his father's concubines in the side of all israel now the advice of a hit the fell which he gave in those days was as if when it inquired at the oracle of the of god so was all the advice of a hit the fell both with david and with absalom as absalom comes to take the throne he's surprised he's surprised at who shy obviously he's suspicious why didn't you go with your best friend why didn't you go with david well he just says look at your king so i'll i'll serve you but when he begins to think in terms of the practical things of how to to sit as king they're in that throne and what's going to make the best impression and how is this going to be that i'm going to be able to take over while he goes to a hit the fell and ask for some advice now remember in chapter 15 david had left 10 concubines to guard the house so a hit the fell says absalom all you need to do is be intimate with these women because if you take them and you are openly intimate with them all israel will know that you are now in the place of your father because only the king has the right to do so plus it's going to drive that wedge between your father and you permanently so do that so absalom follows his advice he thinks that it's a wise thing to do now we need to ask ourselves why would a hit the fell give that kind of advice it was correct but why did he do that well one it's because we need to remember that a hit the fell was grandfather to bathsheba and bathsheba is a one who committed adultery with david and her husband had been killed upon david's command therefore a hit the fell was angry and he was openly wanting to bring shame into the life of david but secondly a prophet by the name of nathan had come up to david and brought a message from the lord we saw that in 2nd samuel 12 verses 10 through 12 and nathan had said the sword shall never depart from your house because you've despised me and have taken the wife of veriah they hit tyke to be your wife thus as a lord behold i will raise up adversity against you from your own house which is absalom and i will take your wives before your eyes and give them to your neighbor and he shall lie with your wives in the sight of this son for you did it secretly but i will do this thing before all israel before the sun god's word is fulfilled in this david you saw bashiba as she was bathing on a rooftop and you secretly brought her to your bed chamber and violated her but absalom is going to take these women these concubines in the side of all israel by putting a tent on top of his roof and it will be plain for all to see what he's doing you did it secretly this shall be done openly well i hit the fel's advice as it says in verse 23 was was solid it was practical it produced the desired result but here it is the wisdom that he once showed that could have been so good is now bitter and twisted his anger at david his desire for vengeance made him a tool to be used to hurt david and how different it is when we have a heart of compassion mercy and forgiveness towards others instead of giving advice to harm in christ we give advice to help i hit the fel's advice didn't do the nation any good but it certainly created a lot of pain for all my brother was a young man he got married he got married at the age of 18 and remained married for several years but began to have some difficulties in his marriage i had gotten saved my brother wasn't saved yet so i tried to minister to his wife we were all young at that time we were in our early 20s and i came over to see her i loved her i'd known her since we were freshmen in high school my brother and she were high school sweethearts and i loved her like a sister she was having difficult time and she started meeting with jojoba's witnesses and jojoba's witness woman began to influence her that if she's going to be a good jojoba's witness she needs to let go of my brother my brother showed me a letter that this particular woman had given to my ex-sister-in-law and it said your your your husband's anger at you is a good thing because it shows that you're following jojoba's rules and you're in his kingdom so that created a real rift between frank and his then wife and i came to minister to her and i was sharing with her about forgiveness about how god can change lives she had a friend over and her friend says oh really well my husband divorced me then he became a born again christian he's now remarried and he's happy and i just don't think that's fair and so she was pouring her bitterness and her anger out and this was a constant source of bitterness as i knew at that time in the life of my then sister-in-law bitterness bitterness anger advice that ended up creating a rift that was so great that it just ended a marriage bitterness does that unforgiveness does that bad advice from a bitter heart should never be taken we have people who go out and buy books by bitter people to tell them how to be successful in life how to have a happy life people who've been married seven times writing on how to have a successful marriage seriously seriously and and and while we do learn from our mistakes i have a tendency of wanting to speak to somebody who's been married for a long time to one person because they probably have a continuous stream of experience that i can learn from my mom and my dad were married over 50 years before my dad went home to be with the lord my my mother-in-law and father-in-law were married over 50 years when he went home to be with the lord and and those are the models that i choose to use i like to speak to those who have successfully made it through life following a formula that is is is workable i do that but when somebody's bitter and saying well i've been there i've seen this isn't look out for that sometimes it's a bitterness and anger that they have in the heart that they pour into somebody else and it results in pain for that other person be careful who you allow to influence in your life be careful who you pour bitterness into in the case of david i hit the fel hated hated david for what david had done and he was looking for opportunity to get even and he shamed him through his advice in front of the whole nation of israel to the herd of david to the herd of absalom and to the herd of the people and bitterness does that how different it is when we have compassionate merciful loving spirit filled advice that we can communicate through the word of god concerning the loving gracious god that we serve who can heal the brokenhearted and can transform lives who is quick to forgive and shows great mercy to those who don't deserve it what a good god we serve and god help us to remember that when we influence others because we can give good advice or we can do what a hithafel does give advice that's workable but it's destructive i want to give the advice that builds up not the advice that tears it down


Refinitiv Thompson 1 includes a screening and analysis section which allows you to search for company and industry reports. The interface in this section of the database differs to that of the company views in that it does not matter which company is selected in the search box at the top left. In this post we will outline some of the key features available in the screening and analysis section of Thompson 1 and show you how to use them. We will focus on the following three features demonstrating each process through a series of working examples. Screening for reports on a company. Circling for industry reports. Circling for filings and reports by a company such as annual reports.


All right Hello everyone welcome to my live stream It's been a long time. So it's gonna be a little difficult to get people here. I haven't promoted it If you're watching say hello, I'm wondering if this livestream will notify my channel members Let me just post In some group excuse me Hello Tika welcome. I'm glad you were notified. Some people are notified It's been a long time Tika if you got any English questions, let me know and If you want you can update me on what's happening in your life. I'd be Good to hear what's going on. If you are visiting the live stream, please say Hi Well, what I don't know how to say your name while lacka well while Alka What is the best way to study English? Well, I don't know you while Alka is first time seeing you here. I think The best way to study English is to Well, there's many ways to study English It depends on your age and your resources, but a good a good starting place is reading if you can read every day, but of course Beyond reading you need Listening and of course Writing and speaking practice but start with reading while like while Alka Joan hello. Welcome Tika turned on the bell Tika is always my number one fan How are you doing Joan Joan or Joanne, I guess I would be a Joan Joan gate You don't have to call me sir Robin Farida I fairy hi Farida from Afghanistan. Wow. We got Someone from Afghanistan. How are you doing in Afghanistan Farida? We you know, I've been reading The news and I've been seeing the video about Afghanistan. I Hope you're doing well there Let us know how you're doing Tika left all your groups. I no longer follow news in your groups. Yeah, I haven't been active in my groups Also, I left them too But hopefully in the next week or two I will start to be active in my groups again We'll see how it goes If you have any English questions, let me know I'm here to answer your English questions Tika, I'll never forget you If there's any new members, let me know For fun 1m. Hello teacher. How are you? I'm doing well I'm very hot right now because I'm in my studio and I got the lights on me So I might start sweating a little bit We'll see how it goes. I do have some water here in case I get really thirsty Don't be shy guys. Ask any English questions or tell me an interesting story Hopefully in the next few weeks, I'll be able to do more live streams Teaching something. We'll see how this live stream goes. It's been a while since I've done a live stream Tika, then I would be there if you join your groups again. It'd be a pleasure to bother some people bother How about work together with some people in the groups or practice English together in the groups? Yeah, Tika, I'm still planning something will happen in the next few weeks and Just pay attention to this channel Monday crispy. Hello OMG. I forgot about this channel long time. No see. Yes Monday crispy. I do remember you Yeah, long time. No see Am I back? Maybe we'll see how I feel after today's live stream Farida, thank you so much Robin. I'm actually out of the country. That's good to hear my parents have moved to Kuwait That's good to hear after I was born as it's not safe for me to stay there. Well, that's good to hear So everything is well with you Farida. That's good So Farida you have what's your passport? You have a passport which country? Are you do you still have an Afghanistan passport or did you change your citizenship? Maureen chimasy chimasy Mr. Robin just call me Robin. I hope hope you're you're good I'm great. I'm always great. I'm always happy. I'm doing fine here in South Korea How are you doing Maureen? Let me know give me an update What's happening with you? If anyone has an English question, I'm I haven't answered any English questions in a long time I'm a little bit rusty. So let's see if you got any questions For fun 1m. I'm in Egypt studying dentistry. Good for you. Good for you three years ago I feel bored because my friends don't speak English Oh Well, you could talk to me for fun 1m I Hope to visit Egypt one day So it'd be good if I have some friends like you in Egypt and hopefully We are not bored when we meet in Egypt Frida, I still have Afghan passport. Well, Frida, I think you can You can go to any country now As a refugee if you want if you want to be a refugee you could probably go to any country including Canada and get Refugee status with an Afghan passport. So I don't know. I don't know your situate situation for Rita, but In you know, your country is not so good right now, but many people want to help Afghan people Fanny, oh, there's a name. I haven't seen in a while. It's been so long. I didn't see you. How are you doing, Robin? Do you remember you? Yes, I remember you Fanny I'm doing well. I hope you are doing well Yeah, it's been a long time. Thanks for the visit Tika, I will bring back To some old members with you. Let's let's move this chat. I'm not looking at the camera very well I'm out of practice. I got to remember look at the camera. I'll do my best to look at the camera Tika says I'll bring back some old members with me I missed the moments in 2019 when I was new in your groups with such nice memories My English was improving a lot because of you and other members. Well, Tika by now your English must be great. Wow Your English was great back then For fun 1m. Did you take the vaccine? I have not got the vaccine yet I'm scheduled to get my first shot in early October Yeah, I haven't got it yet. I I want to get it, but just it's slow Slow for me to get it. Tika. I wasn't able to speak in English at all and have no confidence Well, Tika, you should have confidence your English is great Marine Robin, I'm good. Just missed you here and you're teaching. Thank you Well, I will be teaching more in the future on this channel and my other channel. I will be starting to Teach so we'll see how it goes and I just lost my I get back to the stream Okay, one moment guys. I got a technical problem Tika says I'm still learning and often make grammar grammar errors Well, that's too bad My world alone. Hello Robin Lena from Afghanistan. What message retracted? I saw your message. I got a Marine when are you starting teaching fully good question soon? I Will be doing live streams and on my other channel. I'll be teaching Some lessons, so I'm still developing but in the next couple weeks. I should be teaching Teaching a lot more. You should be seeing more of me. I don't know if that's good or bad. Hopefully that's good You can start seeing more of me And you know a lot of people are coming today, but Everyone's saying hello, but You know, tell me about your English. How's your English doing? You know, are you studying English these days guys? Do you do you have any questions? Tika's talking to Farida. I hope everything goes well with you and your family Farida. Yes Jonathan. Hey Hey, Jonathan. Good to see you here. Long time. No see Certainly I missed you a lot Jonathan, I I'm just testing out the live stream today and I should be back I'm developing the new programs for the live stream and my other channel and of course for the whatsapp groups I'll be start to be active there soon Hope you're doing well, Jonathan Marine, I can't wait to see start seeing you often. Good. Thank you It's comments like that that motivate me to come back Oh, Tika, I'm planning to take IELTS exam in a few years after graduate from university Which one is best to choose TOEFL or IELTS? Well, Tika, where are you going? You know IELTS is mainly for british speaking countries And TOEFL is mainly america. So if you're planning to go To british like england or australia New zealand, I think even canada focuses on IELTS You can take TOEFL or IELTS for any country so even if you go to america you can take IELTS But I think if you're looking for american Accent TOEFL and if you're more on the british accent maybe IELTS Both of them great tests to take to study abroad. Let me know what's your plan I've been I've been studying a lot of IELTS myself recently because I've been trying to make content for IELTS So Tika, I certainly can't help you in the future with IELTS My world alone. It's been ages I haven't been here. Happy to see you again. Well, happy to see you my world alone. Welcome. Thanks for the comment Farida, I've been so sad for years because my english wasn't really good. Oh I wasn't able to speak write read or understand english. Well, are you sad? Today farida I can't hear you, but I can read your comment and I understand your comment fully so your writing Seems great, and I think you can read and I think you can listen Uh, I just don't know your speaking level, but I think uh, It won't be that bad farida. What do you think? How's your level now? Tika, I need to take the test to apply for a job. It's a government job and it requires to take one of the tests Okay, I understand Tika Uh, I would recommend I guess IELTS because I I'm gonna study a lot more about IELTS And I can probably help you better with IELTS than TOEFL. So Let's get started on IELTS Fennie, so do you still do live streams only for your members? Uh, I haven't done any live streams for a few months Fennie, but I'll I'll get back to it. I'll get back to it and of course members will get more benefits Uh, more attention Than non-members. We'll see how it goes. We'll see how it goes. Do we Wow a lot of old students I'm happy to see you again, Robert. Well, you know what? I read your name. Do we I smiled? Uh, happy to see you Marine Robin, can you please let us know the exact exact date of starting the live streaming? I don't know the exact date, but I'm working every day. Uh, let's say Certainly sundays 10 30 or 10 30 my time. That's around what I started, you know 20 minutes ago on sundays is usually when I do my live streams. So Next sunday probably I'll be back Jonathan cool robin. I'll be waiting for your classes. We miss you too. Uh, thanks very much, buddy And Khalid is male here. We got an english question. Good. How I understand english speed faster So Khalid is male A lot of us students ask me that almost every day. How can I learn english really fast? I need it quick quick quick fast and Khalid there's no fast way To learn a language you need a lot of time A lot of time to learn it a lot of time to practice it. So Khalid I suggest you are not always don't always look for the fast way Look for the best way and the best way requires Your diligence your effort every day Khalid Just a little bit reading writing speaking listening every day And over time you will get better It might not you're you're not going to master english in three months You're not going to master english in six months, but you know after a year two years Khalid, I think you're going to you're going to be really good at english Farida, but after looking for english learning courses and english teaching channels I got your channel. I was so many of you those are very benefits and I was happy It was like a miracle to me. Well, thank you farida for your kind words Thank you very much that you make me happy and Kizzy Kizzy Kova Zazira happy to see you again. Well happy to see you Kizzy Kova Teacherpreneur.  I'm thrilled to see you Well, sherry. I'm I'm thrilled to see you and I hope I can talk to you in soon Hello, leila. I was wondering when leila would uh leila. You're late I'm doing well leila. Thanks for the visit Tika, would you help me to learn about the IELTS? I'm anxious about it or you can say I'm insecure with the results I'm afraid of the results What if would be bad and turn out to be Tika, I think you can handle the IELTS Especially if you have a lot of time Uh, don't worry About the IELTS. Do you know what score you need tika? Leila a long time no live stream here. I have just known there is a live stream. Yeah, I put a I don't think many people get notifications when I activated the live stream So if you want to know notification make sure you hit the bell icon When you subscribe to the channel hit the bell icon so you get notified When I do a live stream Marine thank you so happy can't wait to see you next sunday. Thanks for your kind heart. Well, thanks for your kind Comments today. They helped me a lot Teacherpreneur sherry. I logged in under my other channel. I'm still learning english with sherry. That's good to hear Uh Are you still learning learning English with sherry? I don't see many new videos when I check there Farida I start talking about your channel to my Family how your channel has helped me to improve my english skills So I started looking for other channels and accounts on instagram Well, I'm good farida if you're motivated and that helps your english Uh Keep going farida, you know keep improving keep studying I'd like to talk to you one day David s. Hi rob. Oh david s. Hi robin. I would like to ask you is it good to build a sentence like this I've already contacted some friends to ask them for advices uh, you don't want to say advices as Accountable advice is uncountable So ask them for advice but I haven't gotten any useful information. So it looks okay Except advice is uncountable Yeah, the sentence looks okay Hey, that was a little busy So I didn't check my phone. Okay, that's fine. No problem Fanny I'm not on your whatsapp group is the group still a sip. Well fanny I will be restructuring the whatsapp groups Let's not worry about whatsapp today. Uh, you know next week. I'll probably give a notification about whatsapp Uh, I'm I have some doubts around the verb. I haven't gotten Well, david s the Gotten I think is an american verb. I don't think british people use gotten uh I think that's an american term. I haven't gotten so david s are you looking for american english or british english american english We use or i'm canadian, but we use gotten a lot, but british people. I don't think they use gotten My world alone How to be good at writing Uh, I'm good at three skills, but writing is depressing My world alone your writing looks good when i'm reading it here in the comments As you said the key word there skills Anything that's a skill the whatever skill it is the the best the only way to improve a skill is practice So, uh, you can try writing Uh as much as you can writing a diary or writing comments on facebook twitter My channel, uh, just practice writing every day Reading helps too because reading you can see How to make sentences and you can copy those sentences in your writing so, uh practice My world alone keep practicing Leila could I know are you going to do a live stream every sunday from now on? I will try I'm not going to promise today I was I should be back next sunday. We'll see leila Tika, how do you handle confrontations in your life? I don't have many confrontations in my life, but Uh, usually I avoid confrontation. I avoid what kind of confrontation with family with strangers with yourself Frida, oh now my english is very advanced good to hear my friends were like wow, how good your english is you used to talk like an Indian and now you have a better accent Well, you know If you have an accent that doesn't mean your english is bad so, uh To me english is an international language. There is no standard accent. So an indian accent is fine Uh, so I don't judge people by their accent. I just judge by the fluency and that doesn't necessarily involve accents. So uh When I talk to indian people if they have an accent that doesn't matter to me as long as I understand what they're saying great Okay, good a device is uncountable. Yes Frida now my english is very advanced. Okay, I got that fanny highly, okay Okay, david is All right, gotten is yeah, remember david has gotten is a very special word I'm not a hundred percent sure, but I I'm pretty sure british people don't use that word We're not in the way americans use that word Uh frida now. I don't have any issues with the grammar excluding the conditions, but I work on it today Frida, I'm sure you still have Everyone watching has issued no matter the level has issues with grammar Even me and even teacher sherry will sometimes have issues with grammar. Nobody's perfect in grammar in any language Don't worry about it too much, but it's good for you to keep trying to get better My english is not perfect. I have I know I know what kind of grammar mistakes I make but you know, I'm always trying to get better Leila is this question correct? What is the order from the strongest to the less one? Hmm. No, that's not exactly correct. What? What is the order? Let's I'm gonna go to Google doc here. Let's go to google doc It's been a while I might be a little slow jumping from screen to screen Can you see that? Let's put your question on the screen there What is the order from the strongest to the? What is the order from the strongest to the weakest? Maybe weakest one would be best I'm not sure what what you want to order, but the opposite of strongest would be weakest Something like that Sadam asam. Chima. Hello. Hello again, sir How's it going Korea these days? Korea is fine. Nothing to report here Fanny, you don't even know the down road. What does it mean the down road? Ooh I'm not sure fanny You don't even know what's down the road. Maybe what's down the road? If you don't even know what's down the road, that means you don't even know the future So what's down the road would be the expression? You don't even know what's Down the road and that would mean you don't even know the future Tika with myself sometimes difficult to deal with what I really want and what I say towards other people Well tika try to avoid confrontation be nice Layla we're only a couple hours away from our next meeting. That sounds good Yeah, Jonathan. I watch your video about contractions like you'd but I have some struggle With hearing the accent when people speak I've been practicing this pronunciation Contractions are very important for speaking because native speakers are going to use a lot of contractions Uh, yeah, just practice that train your ear to hear you'd All the contractions Tika I have a question. What is the meaning of go down in flames? Go down in flames. It means crash It's it's kind of a word that means fail someone failed At something and they failed in a big way. They failed terribly So he went down in flames would mean he failed at something So that would be an idiom Layla, what do native speakers like you call the specific place or thing that you put your clothes in the closet? Or the wardrobe I'll type that out Closet is like a small room and the wardrobe is the furniture Okay Are textbooks better for tofu preparation? Well For aisles tofu, I usually don't use textbooks for preparation. I'm not going to go into aisles tofu Maybe that's a good video another time, but If you if you're my world alone if you want to study tofu, that is a massive a very big project And I would have to talk to you in detail about that and right now is not a good time to talk in detail But I hope I can help you with that in the future All right guys. This is just a quick live stream To see who pops up I will end the live stream soon. Sorry. I know you guys are We haven't seen each other a long time and it's just a quick one I just wanted to test it make sure I know how to do everything so I can plan Yes, probably next week. I'll be back. So If you're watching me now, thanks for the visit And I will be back soon so Please subscribe hit the notification so you are notified when I'm back. I should be back next week I will be developing the whatsapp groups again. So I'll be back there and Hope to talk to you guys there again So I have nothing Exactly planned right now. I'm sorry, but by the next time you see me. I'll have everything planned So anyway, thanks for watching everyone and I hope to see you Soon Very soon seeing the last comments here All right. Sorry Lea. I can't get your question It's just a quick live. See you soon. Do we thank you. Okay. Thank you If you get any English questions, can we do that once now? Yeah, I'm not going to do whatsapp yet Thank you I hope to help you all in the future. So thanks again And I'll see you guys again soon. So take care. Bye guys


Hi, this is Saeed from SD Microelectronics. In this video, I'm going to show you how to use the open asymmetric multiprocessing framework to establish inter-process communication between two heterogeneous cores using the STM32 H745 microcontroller. The agenda for this video is divided into eight sections. We'll start with the use case for the inter-process communication, and we'll do an overview of IPC protocol. Then, we will have a short overview of open AMP. In section five, we will discuss the shared memory between the cores. In section six, we will highlight the need for cache maintenance for the shared memory region. Section seven, we will commence the hands-on example using the STM32 Q by DE. Finally, at the end of the presentation, we will quickly review the expected result that we should see on the terminal console. For the hands-on, we will test the inter-process communication using the open AMP framework, and we will use the remote processor messaging APIs to achieve this. Since cache is enabled on the Cortex-M7 core, we need to watch for incoherent cache. We will take steps to prevent incoherent data. The hands-on project will be implemented on a bare metal MCU. However, open AMP is flexible and can also be used with an RTOS enabled. As a side note, please be aware, you can access all the materials discussed in this video through the link shared in the description. For this project, we will use a single Nucleo H745 Zi dash Q board, a single micro USB cable, a host computer to connect the Nucleo boards to. The process is the same for other dual core STM32 H7 MCUs, so you can use a different dual core STM32 H7 if you don't have this specific board at hand. The only required software for this example are the latest STM32 Q by DE. In my case, it's currently version 1.8, but you can use newer version if available. And we will be printing some strings on the virtual terminal screen. In my case, I will be using the TeraTerm. You can also use other serial terminals. First, let's start by quickly discussing some use cases requiring inter-process communication protocol. Event notification. The event notification can be used to synchronize the execution of tasks on both cores, especially when data processing, pipelineing, is needed. A practical example of this case is a speech activation pattern, detection via CPU2 user interface and its command execution implementation using CPU1. Asking for remote service. In order to reduce concurrency and driver click duplication, including stacks when using peripherals, some services can be implemented on one of the CPUs. This action helps to reduce code size and other concerns related to resource sharing. Some examples of service are file system management and serial communication interface. Another example is payload processing. A functional split can set up CPU1 to perform computation intensive work while real-time tasks such as sensor acquisition and control would be located in the second core. The overall power consumption is reduced by placing CPU1 in low power mode while CPU2 is pre-processing data. For example, data acquisition, handling connectivity and more, before waking up the CPU1 to run intensive data computation algorithms. Let's review all the options available to us for inter-process communication. Synchronization protocol using the device resources. A lightweight inter-process communication channel can be implemented using the available peripherals built into the STM32 H745. For example, hardware semaphore, peripheral and EXTI controller, interop lines can be used to signal events or communicate the availability of data. Other peripherals such as DMA channels can be used to transfer data and generate an end of a transfer notification from one site to the other site. The next option is free RTOS message buffer and stream buffer starting from version 10.0.0. Free RTOS implements inter-process communication APIs. Message buffer allow variable link discrete messages to be passed from an interrupt service routine to a task or from one task to another. Stream buffer allow a stream of bytes to be passed from an interrupt service routine to a task or from one task to another. And the last option is open AMP framework. Open asymmetric multiprocessing framework provides the required software components to enable development of application for asymmetric multiprocessing systems. It standardizes the interaction between operating environments in a heterogeneous embedded system through open source components such as remote proc and RPMSG. RPMSG is a component of open AMP framework. It allows for inter-process communication between applications running on different CPUs. This slide briefly reviews open asymmetric multiprocessing and the remote processor messaging used for IPC. Open AMP uses the OSI layers model for the inter-core communication protocol. In asymmetric multiprocessing systems, the most common way for different cores to cooperate is to use shared memory-based communication. The whole communication implementation can be separated in three different ISO or OSI layers. Topmost layer is a transport or the RPMSG. Second is the media access control layer, which implements virtual IO. And the bottom layer is a physical layer which consists of the shared memory and the hardware semaphores. Figure illustrates the software layers used for open AMP IPC. The virtual IO abstraction layers allow both RTOS and bare metal app on the master processor to interact with the remote processor, making open AMP flexible in different environments. The first step to implement a shared memory area is to choose a memory area that is available and accessible by both cores. STM32 H745 implements a symmetric memory mapping between two cores. As presented in the table, this architecture allows to have approximately 82% of the SRAM directly accessible by both CPUs. We can use that for data exchange. SRAM4 and the backup SRAM are both accessible to the Cortex-M7 and Cortex-M4 and they remain available when D1 and D2 domain are in low power mode. We will use D3 RAM for sharing memory between cores and for message exchange. The AMBA high performance bus SRAM4 is mapped to address hex 38 million and it's accessible by all system masters through domain three AHB matrix, as shown in the diagram. SRAM4 can be used as a basic DMA buffer to IO data from peripherals in domain three. We can also use SRAM4 to store code and data while domain one and domain two enter D standby mode. In D standby mode, RAM and registers are powered down and consequently data is lost. SRAM4 is available to all masters so therefore it can be used to share data between the cores. When dealing with shared data and memory while enabling cache, it is important to consider data coherency. The developer must define the adequate strategy for cache maintenance. Here are a couple of different implementation scenarios. One option is to perform runtime cache maintenance using CMSIS library functions. In this scenario, the data cache must be cleared before notifying and using the data from CPU2. Another option is to use memory protection unit or the MPU to mark a shared memory region as non-cacheable to ensure data coherency and consistency. Okay, now it's time to prepare for our hands-on example. Let's do a brief overview. This application will show how to use OpenAMP Metalware to create a remote processor messaging communication channel between Cortex-M4 and the Cortex-M7 core on the STM32-H745. We will use memory protection unit to mark the shared memory as non-cacheable. This will prevent data incoherency issues when the cores are exchanging messages. Furthermore, we have to modify the linker script to create a special memory section for data sharing between the cores. As previously mentioned, this special memory section will be located in SRAM4. To keep things simple, the example will be implemented on a bare-middle environment without any RTOS. The OpenAMP Metalware is composed of two main components. First, being the resource table definition in the C file, rsc underscore table.c, which is allocated in the shared memory area at address hex 38 million. And the second is the messaging protocol, RPMSG, which provides the messaging infrastructure using the mailbox and virtual IO buffers. OpenAMP Metalware uses the following resources from the MCU. For the physical layer, hardware semaphore is used within the mailbox API for event signaling between Cortex-M7 and the Cortex-M4. And the D3SRAM peripheral for buffer communication between Cortex-M7 and the Cortex-M4. When editing the linker script, keep in mind that the D3SRAM, otherwise known as SRAM-4, has its address start at hex 38 million with a total length of 64K. To be more precise, the reserve shared memory region for this example consists of the shared resource table at address hex 38 million with a total length of 1K and the shared memory region, which start at address hex 38 million 400 with a length of 63K. The main clock configuration for both cores are done by the Cortex-M7. So the clock config code is located only in the main.c for the Cortex-M7 project. Cortex-M7 will be the master core and it will wake up the Cortex-M4 core from the stop mode. Both CPU-1 and CPU-2 will initialize the openAMP Metalware in their main.c code, which uses the hardware semaphore and the remote processor messaging APIs. Cortex-M4 will create that communication endpoint. Cortex-M7 will send a string message to the Cortex-M4 using the RP-MSG service. Then Cortex-M4 will print the string onto the serial terminal using the UR-3 peripheral. We're going to use UR-3 because it's connected to SD-Link virtual COM port. Before we start the hands-on, please take a look inside the zip folder that is linked in the video description. In there, you'd find the source code that we will add to the hands-on project later on. The zip folder contains the completed IPC example, hands-on project for your reference. A PDF of all the slides discussed in this video and a code patch for both Cortex-M4 and M7 cores. Code for Cortex-M7 core main.c, code for the Cortex-M4 core main.c, modification script for the Cortex-M7 linker file. And finally, the modification script for the Cortex-M4 linker file. Now let's get started by creating our STM32 project space. Under MCU selector, we will search for STM32 H745 ZIT. For project name, we'll go with STM32 H745 underscore openAMP underscore demo. We begin the IOC configuration by first enabling the hardware semaphore interrupt lines for both the Cortex-M4 and the Cortex-M7 core through the NVIC-1 and the NVIC-2 controllers. Fulfilling the prerequisite, we can now enable the openAMP middleware on both cores. Next, we enable the data and instruction cache on the Cortex-M7 for increasing performance. Doing this also prompts us to enable the memory protection unit on the Cortex-M7 because we want to mark the shareable memory region as non-cacheable. This will help us with preventing any data and coherency when the two cores are exchanging data. For the control mode, select fourth option from the drop-down menu. The specific mode is not important here, but you can refer to the program menu for details on each MPU option. We're going to create a single MPU region. So enable region zero here. The region we want to protect and add a cache policy to is SRAM-4, which has the address of hex 38 million. Make the region size 64 kilobyte, which encompasses the entirety of SRAM-4. Each MPU region is further divided into eight subregions. This field allows us to disable those subregions if needed. For now, leave it at zero. The next six fields will determine memory region attributes and the cache policy. Leave the MPU extension bit field level at zero. This field defines the cache policy about how data is written between the cache memory and the system memory. You can read more about this field in the ARM Cortex M7 manual. Next, for MPU access permission field, select all access permitted. For MPU instruction access permission, select enable. Set MPU shareability permission to enabled. Set MPU cacheable permission to disabled. And finally, MPU buffable permission is set as disabled as well. Next peripheral we're going to enable is UASRT-3 for the Cortex M4 core. We're going to send message from UR-3 to the ST-Link virtual comfort, which will be sent to the host for printing onto the console. Set the mode as asynchronous, which is just the UART. Leave all other settings to default value. Since the virtual comfort is connected to specific pins of UART-3, we need to remap the default pins shown to PD-8 and PD-9 as specified in the user manual UM-2408. Okay, let's start changing the pen assignment. Hold left control P on your keyboard and hold left mouse button under green pen GPIO. Then drag the pen to where you want it to move over to. If you notice a magenta color warning sign next to the clock configuration, you need to use the automatic clock issue solver to make the issue go away. That was the last step for IOC configuration. Let's begin making changes to the C code. Click generate to convert the IOC file settings into initialization code. Let's pull up the main.c file for each of the cores. To save time for this video, we're going to copy the source code from the zip folder that's linked in the video description. Next, we'll add these fixes for preventing compilation error for both CM4 and CM7 core. Please remember that these patches might be obsolete in the future when these fixes are implemented by our development team. As of making this video, I'm currently working with STM32Q firmware H7 version 1.9.0. We're going to add the source code modification for Cortex-M7 next. Similarly, we add the source code changes for CM4 core. We have to make the changes to the linker script for the CM7 core. The goal is to add the resource table and the shareable memory region into SRAM4. This is described in the linker script. Next up, we make similar changes to the CM4 core linker script. Again, this is done to add the resource table and the shareable memory region section into SRAM4. Finally, we are done making the modification to the source code. We can start compiling our project and check for any errors. Do the same for the Cortex-M7 core. Click build project. The warning message seen here for the Cortex-M7 project is a known limitation. This is not going to be an issue for us here so you can ignore it for now. Next up, let's begin configuring our TerraTone console for receiving the string message from the Cortex-M4 core SD-Link virtual COM port. Create a serial connection with a COM port number which you can find under your device manager. Under setup, select serial port, then configure the bug rate to match the rate we selected in the IOC file setting for the UR3 peripheral. Leave everything else as default. For the last step, we're going to configure the SD-Link debugger setting for each core. We will begin the configuration setup first for Cortex-M4. As a side note, please remember, you can find the exact details for each step of the dual core debugging setup in the application node AN5361. Here, we're going to uncheck the download for Cortex-M4 because the Cortex-M7 project will download the CM4 project for us. The only thing we have to check here is the loading debug symbols, which is used when we're going to step through the code. Next step, let's set up the debug configuration for Cortex-M7. Since we are debugging two projects at the same time, we have to increment the port number for the GDV server by a value that's at least four. We're going to download the Cortex-M4 project along with the Cortex-M7 project. Note, it's important to have the CM4 project listed first, like shown here. Finally, we can commence the debugger and run our inter-process communication program. Start the program by launching CM7 debugger first. Next, launch the debugger for Cortex-M4. First, we're going to click on the green play button for the Cortex-M4 project. Proceed to click on the green play button for the CM7 project. We can also pause the individual projects and see which lines they are currently waiting at. You should observe the following string message on the virtual terminal console. Let's recap. We are establishing an inter-process communication using OpenAMP framework. We are using the RPMSG service to send a string message from the master core, that being Cortex-M7, to Cortex-M4 core. The slave core's job is to now print the string message onto the terminal screen via your three peripheral, which is connected to the virtual COM port. Relevant application nodes, data sheet, reference manual, and the user manual can be found in the following links. We hope you found this video helpful. Thank you very much for watching.